Array_replace(): Argument #1 ($array) Must Be Of Type Array, String Given - Question | JoomShaper

Array_replace(): Argument #1 ($array) Must Be Of Type Array, String Given

KS

Kurt Specht

Template 10 months ago

Good day, in Melvin Quickstart Template Frontend Editor I get the error "array_replace(): Argument #1 ($array) must be of type array, string given" displayed on the homepage.

0
31 Answers
swemmel
swemmel
Accepted Answer
7 months ago

That is not a solution, that is a work-around. Joomshaper stuff should be able to work on PHP8.x.

Kind regards, Peter

2
SA
Savicon AS
Accepted Answer
7 months ago

Agreed - PHP 7.X is nearing its end of life, and this might be a serious problem for my website in the future.

1
BI
Bambang Ismono
Accepted Answer
4 months ago

i think i have same problem with , i hope soon have an update for PHP 8

1
AC
Anthony Cowburn
Accepted Answer
2 months ago

Me too. I can't run PHP 7. It will be picked up on web scans. :(

1
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access & FTP to check the issue? I will check & get back to you soon. 

-Thanks

0
KS
Kurt Specht
Accepted Answer
10 months ago

You have now super user rights. See hidden content. Thx.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago

Please downgrade your PHP version 8 to 7.4. Thanks

0
KS
Kurt Specht
Accepted Answer
10 months ago

Ok excellent that works. Is this for all Joomshaper J4 templates and installations the case?

One more issue: in general it works but the Caroussel Pro is not shown in the Frontend Editor neither the menu backgoud color unless you scroll down.

0
ML
Michael Lin
Accepted Answer
8 months ago

Hi, I have the same error like this how to solve this? every time i use php 8 this error shows up

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago

PHP 8 is not compatible. Please use the PHP 7.4 instead of PHP 8.0.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 7 months ago

We are almost door to release Helix Ultimate PHP 8 Compatible. Now we are working on testing. We will release it soon. Thanks

0
swemmel
swemmel
Accepted Answer
7 months ago

Melvin and many other Templates that are J4-ready are Helix3-driven templates, not Helix Ultimate.

What about Helix 3 and PhP8.x?

Kind regards, Peter

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 7 months ago

After release Helix Ultimate we will start work with helix3. Thanks

0
MG
MEHRKANAL GmbH
Accepted Answer
4 months ago

Hi guys.

Is there an update for PHP8 support for the helix framework? As you know PHP 7.4 is running out of security fixes by end of November and I am worried that my website will not be supported.

We tried helixultimate but the server response times (TTFB) have been between 3 and 5 seconds, which was not acceptable.

I hope there is some good news out there.

Regards Christian

0
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
Accepted Answer
4 months ago

Hello Christian,

depending on the tempalte I have several patches available or create new ones if needed.
For Helix 3 as well as for Helix Ultimate.

For Helix 3 templates you can find some of the patches under the following post.
https://www.joomshaper.com/forum/question/17313#qa-answer-83050

For the long loading times of the Helix Ultimate template, expired cache can be the cause.
Something like this was reported by another user.

Found a solution: delete expired cache. :-)

Helix Ultimate with SPPB 3.8 and Joomla 4

Important: I am not from Joomshaper Support and do this on a voluntary basis.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago

Developer team started work on PHP 8 compatiblity of Helix3 on this week.

0
J
Jeremey
Accepted Answer
2 months ago

You guys are cutting it fine with this fix I would really like to know my site is secure moving forward This is coppied from my joomla dashboard, it dosnt get much clearer to me.

'Your PHP version, 7.4.32, is only receiving security fixes from the PHP project at this time. This means your PHP version will soon no longer be supported. We recommend planning to upgrade to a newer PHP version before it reaches end of support on 2022-11-28. Joomla will be faster and more secure if you upgrade to a newer PHP version. Please contact your host for upgrade instructions.'

When is the fix due I need to go to at least PHP 8

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago

We are trying to release it in this week. Thanks

0
J
Jeremey
Accepted Answer
2 months ago

Thanks that would very much appreciated

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago

Thanks

0
J
Jeremey
Accepted Answer
2 months ago

Yes Still waiting for UPDATE Site Security is becoming a very big concern Please advise with a FIRM timeline Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago

Here is the download link of Helix3 PHP 8 compatible. Please download & check.

https://drive.google.com/file/d/1hK9vwxFPmGXqBb6VKqJY2EMSy3gEhogg/view

-Thanks

0
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
Accepted Answer
2 months ago

@Toufiq
This Version still has incompatibilities.
system/helix3/core/helix3.php on line 641 to 655.
The arguments are in the wrong order and will throw an error when used with php 8.1.
https://github.com/JoomShaper/Helix3/pull/112/commits/079bb8f33d3c39b1c39ebc1d0bdb5f32da3e1a72

Please use the provided and tested fixes from github.
Furthermore, it would be great if the developers would set the repository to Archived when it is no longer maintained and serviced.
That the free developers can save the time to provide updates and bugs there.
Me, pepperstreet, RagdollOp, aranemac and so on

https://github.com/JoomShaper/Helix3/pulls
https://github.com/JoomShaper/Helix3/issues

When I find some time, I will check this version with PHP 8.1.
I will also check if the API calls work at the same time.

https://github.com/JoomShaper/Helix3/issues/114

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago

Informed our developers team. Thanks

0
J
Jeremey
Accepted Answer
2 months ago

I have now moved over to build a new site on the helix ultimate as I can't rely on the updates for the current site So all work to date lost very frustrated and annoyed

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago

@Jeremey Do you need Helix3 build?

0
AC
Anthony Cowburn
Accepted Answer
2 months ago

Don't want to muddy the post but for reference I get this when using the front page editor. The home page will then error with the same message and continue to state that error, until a cookie clear.

0
S
sydk2017
Accepted Answer
1 month ago

Does anyone know if this problem will be fixed soon? I cannot use front page editor with helix 3 on PHP 8. Going back to earlier PHP is not an option.

0
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
Accepted Answer
1 month ago

@sydk2017

Do you get an error message that could indicate the cause?
If not, you could switch on the debug mode, that you hopefully get an error message with stacktrace displayed.
Then I could possibly help you further and at least provide a patch that you can continue to work.

0
S
sydk2017
Accepted Answer
1 month ago

I have tried to add the debug message but it will not upload. i did not see anything called stacktrace.

Below I'll add the admin login if you want to check it yourself.

0
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s‏‏‎
Accepted Answer
1 month ago

@sydk2017

I have tried to add the debug message but it will not upload.

Yes, that's because of Cloudflare. They filter the sent data.
If there is something that Cloudflare classifies as bad, the call is blocked.
If you try this too often, the IP of the user is even banned.

i did not see anything called stacktrace.

Yes, as a non-developer the terms can be confusing. :)
Stacktrace is a list of steps "files and functions" that were processed in order before the actual error occurred.

If in Joomla under "System -> Global Configuration -> System -> Debug" the item "Debug System" is activated, the stacktrace should also be displayed in case of an error.

If there is still no error to be seen, then it seems to be a problem of the SPPB.
This would have to be looked at by @Toufiq.

Below I'll add the admin login if you want to check it yourself.

That's very nice of you, unfortunately as a normal user I don't have access to the hidden content.

You can alternatively create an account for me.
E-mail: [email protected]

0