gantry5
gantry5 copied to clipboard
Gantry default Menu particle on PHP 8 gives error
Hi,
I have a Joomla 4.1.4 (test)website running on the server with PHP 8 and it generates the following error:
Unsupported operand types: string + string Previous exceptions Unsupported operand types: string + string (0)
…/src/classes/Gantry/Framework/Menu.php750
It seems to be related to the nav-toolbar.html.twig/nav-toolbar.yaml in the Ivee E-commerce template. According to the developer of this template the issue is related to the Gantry default Menu particle. Without this particle everything works fine in PHP 8.0.
Is this error already known? I found issue #2737, but the status of that one is marked "Closed".
Hi Matias,
As we're eager to update our website to Joomla 4 / PHP 8, I immediately downloaded the latest Gantry .15 version. Unfortunately, the above bug still exists and a 500 error is triggered as soon as the PHP is set to version 8. Can you tell me when this bug could be resolved?
Kind Regards MichelP
@MicPou Can you try out the CI build to test if the issue has been fixed for you?
I just tested, it works fine now. Thanks Matias!
Hello @mahagr the 5.5.16 update don't solve this: #3079 I can't move to PHP 8.0, i'm forced to PHP 7.4 :(
Hello @mahagr the 5.5.16 update don't solve this: #3079 I can't move to PHP 8.0, i'm forced to PHP 7.4 :(
@morphinestyle does your comment still apply to this issue after you solved your issue in the other ticket?
@N8Solutions yes, it is the same issue: i solved my issue because was a partially incompatible override with php 8.0.
Great, thanks for letting me know @morphinestyle! So now we just need @MicPou to try the Gantry 5 v5.5.16 update to see if it solves things for him. https://gantry.org/downloads#joomla