Page Builder And PHP 8.0 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Page Builder And PHP 8.0

RS

Russell Sawchuk

SP Page Builder 3 years ago

I just upgraded my Joomla 3:10.10 website to SP Page Builder 4.0.1. Initial testing suggests that it works fine when I have PHP 7.4 installed on the website. However, when I try and activate PHP 8.0, the site crashes and I get an "Unsupported operand types: string + string" notice on a blank page.

Here is part of the error log:

[29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $class follows optional parameter $device in /home/stanthony/public_html/plugins/system/helixultimate/core/helixultimate.php on line 559 [29-Jul-2022 15:57:32 UTC] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 181 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $pos follows optional parameter $pid in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 583 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $i follows optional parameter $pid in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 583 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $pos follows optional parameter $pid in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 612 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $i follows optional parameter $pid in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 612 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $pos follows optional parameter $level in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 658 [29-Jul-2022 15:57:32 UTC] PHP Deprecated: Required parameter $i follows optional parameter $level in /home/stanthony/public_html/modules/mod_jux_megamenucss3/helper.php on line 658 [29-Jul-2022 15:57:35 UTC] PHP Warning: Undefined property: stdClass::$use_border in /home/stanthony/public_html/components/com_sppagebuilder/layouts/column/css.php on line 57

The website is at https://st-anthony.ca

I am trying to upgrade all of my websites to PHP 8.0 but have been able for this site due to these issues. Your advice and assistance would be greatly appreciated.

Thanks, Russell

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #77492

Hi there!

Sorry for the inconvenience.

Which template you are using, please?

MAke sure all of your extensions are PHP 8 compatible too.

The following blog may help you to upgrade the Joomla from 3 to 4:

https://www.joomshaper.com/blog/how-to-update-your-site-to-joomla-4

Best Regards

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #77503

Hi Russell ,

90% of your errors were from module jux_megamenucss - it doesn't belong to us! Ask JUX team.


The only small warning that I saw from JoomShaper is that: Undefined property: stdClass::$use_border in /home/stanthony/public_html/components/com_sppagebuilder/layouts/column/css.php on line 57

What version of SP Page Builder you have installed?

0
CC
Christopher Collins
Accepted Answer
3 years ago #77506

I also just had the same issue with php 8. I have sppb pro 3.8.7 and helix ultimate 2.0.10. The only error I had was this

Error: Class "HelixUltimate\Framework\Platform\Helper" not found: spl_autoload_unregister(): Argument #1 ($callback) must be a valid callback, function "__autoload" not found or invalid function name

0