J4 Helix Ultima PHP8 gives error: implode(): Argument #1 ($pieces) must be of type array, string given - Forum | JoomShaper
Solved Helix Framework

J4 Helix Ultima PHP8 gives error: implode(): Argument #1 ($pieces) must be of type array, string given

Asked by clausjepsen 4 years ago Last activity 4 years ago

I have upgraded from 3.10 to 4.0.6 on PHP8 and replaced Helix3 with latest Helix ultimate.

When launching, I get the error on front end:
implode(): Argument #1 ($pieces) must be of type array, string given

If I select "Cassiopeia" as default template instead of Helix Ultimate, the site works!

What do you suggest?

Here is the error text:

Call stack

Function Location

1 () JROOT/libraries/src/Router/SiteRouter.php:479
2 implode() JROOT/libraries/src/Router/SiteRouter.php:479
3 Joomla\CMS\Router\SiteRouter->buildSefRoute() JROOT/libraries/src/Router/Router.php:425
4 Joomla\CMS\Router\Router->processBuildRules() JROOT/libraries/src/Router/Router.php:197
5 Joomla\CMS\Router\Router->build() JROOT/libraries/src/Router/Route.php:145
6 Joomla\CMS\Router\Route::link() JROOT/libraries/src/Router/Route.php:94
7 Joomla\CMS\Router\Route::_() JROOT/plugins/system/helixultimate/src/Core/Classes/HelixultimateMenu.php:212
8 HelixUltimate\Framework\Core\Classes\HelixultimateMenu->initMenu() JROOT/plugins/system/helixultimate/src/Core/Classes/HelixultimateMenu.php:110
9 HelixUltimate\Framework\Core\Classes\HelixultimateMenu->__construct() JROOT/templates/shaper_helixultimate/features/menu.php:61
10 HelixUltimateFeatureMenu->renderFeature() JROOT/templates/shaper_helixultimate/headers/style-1/header.php:99
11 include() JROOT/libraries/src/Layout/FileLayout.php:128
12 Joomla\CMS\Layout\FileLayout->render() JROOT/plugins/system/helixultimate/src/Core/HelixUltimate.php:1712
13 HelixUltimate\Framework\Core\HelixUltimate->getHeaderStyle() JROOT/templates/shaper_helixultimate/index.php:152
14 require() JROOT/libraries/src/Document/HtmlDocument.php:783
15 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:842
16 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:645
17 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1022
18 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:804
19 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
20 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
21 require_once() JROOT/index.php:32

Accepted answer

Marked as the solution
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎
4 years ago · edited

ㅤ

14 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please downgrade PHP 8 to 7.4.

-Thanks

clausjepsen Asked this

Is Helix Ultimate not php8 compliant yet?
When do you expect it to be?

‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎
4 years ago · edited

ㅤ

‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎
4 years ago · edited

ㅤ

clausjepsen Asked this

@Toufiq: It is not related to HELIX 3 but HELIX Ultimate

@Jens: Thank you a lot. I will look into it.

Toufiq Senior Staff

Updated link

RA_Dury

HI, since May 28th 2022 PHP 7.4.28 entered the “Security maintenance” phase. This means that since Saturday, 28 May 2022 PHP 7.4.28 has stopped receiving bug fixes. It will stop receiving security updates on Monday, 28 November 2022 at which point it will be unsuitable for use on a live site.

Is there any information from JoomShaper, when it will be possible to upgrade the JoomlaPages using Helix3 to PHP 8? Is there any problem known with PHP 8 and Helix ultimate?

Toufiq Senior Staff

I have informed our team and I hope they will take initiative as soon as possible. Thanks

RA_Dury

OK, thanx for the feedback and pls keep us updated. It would be great if there would be no need to switch the template.

Log in to reply.