Helix 3 Joomla 4 And Login Error - Question | JoomShaper

Helix 3 Joomla 4 And Login Error

S

sydk2017

Helix Framework 1 year ago

0 array_replace(): Argument #1 ($array) must be of type array, string given

Helix 3, Joomla 4 and PHP 8 - the login form does not work unless I use PHP 7. PHP 7 is no longer supported - what do I need to do to make the site work with PHP 8?

0
5 Answers
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎
Accepted Answer
1 year ago #101210

Hello Sydk2017,

Unfortunately, the developers of joomshaper did not update the template as suggested on github, which might lead to your current problem.

Suggest was a check of the version and passing of the parameters as expected from Joomla.
-> https://github.com/JoomShaper/Helix3/pull/112/files#diff-44f30076bb4bf5541387ba7e469209bac2c7f9e6ffc7054e041d206230316d66

But the developers have changed only some parameters, without the query of Joomla version.

https://github.com/JoomShaper/Helix3/commit/7b5ade9d338b188adb74141136dbe435e875d84e#diff-44f30076bb4bf5541387ba7e469209bac2c7f9e6ffc7054e041d206230316d66

Please check the file once and please make the suggested changes with the Joomla version query.
-> plugins/system/helix3/core/helix3.php
Afterwards the error message should be gone under PHP8.

I wish you a nice and successful year.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #101055

Hi there!

Sorry for your issue.

Are you using raw Helix3 template? Or Helix3 framework based different template there, please? Helix Ultimate and Helix3 frameworks are compatible with PHP 8.0 maximum.

Here is our plan:

https://www.joomshaper.com/blog/latest-php-compatibility-for-templates-and-extensions

Best Regards

0
S
sydk2017
Accepted Answer
1 year ago #101077

Hi Rashida,

I am just using the raw Helix3 template but when I switch to PHP 8 everything works O.K. except when a user tried to login - then it throws the error message: 0 array_replace(): Argument #1 ($array) must be of type array, string given - and the user then cannot access any part of the site.

Do you have a fix for this?

I have to believe otehr people using Helix3 need to a registered only section of their websites - is there a work around?

For now I had to go back to PHP 7.4 - but the clients keeps asking why there is a notice about PHP 7 on the baclend of Joomla when they log in, and my server admin wants to uninstall any version of PHP before 8 soon - so I need to be able to use PHP 8 ASAP.

Thanks for your help.

0
S
sydk2017
Accepted Answer
1 year ago #101205

Hi Rashida,

It's been 5 days now, and I'm still waiting for a fix for this error. Have you guys figured this out yet?

0
S
sydk2017
Accepted Answer
1 year ago #101337

Hello Jens,

That was exactly what I needed - the site works fine now! Thank you so much for the info!

Hopefully Joomshaper will update their template in the near future so other people won't have to deal with this problem.

And I wish you a nice and successful year as well,

Syd

0