When I set my PHP version to 8.0 I get error message on all of my domains on all pages where I use Pagebuilder: 0 Call to undefined function get_magic_quotes_gpc()
In researching I read that gmagick has been removed from PHP 8
Is PageBuilder still depending on it?
PHP 8 error
18 replies
Hi there!
Sorry for your issue.
When and how you met with this error?
Can I have a screencast, please?
Best Regards
BTW
- On those pages where you see (saw) that error - what addons you're using?
- Can you make a simple test page and use there only Image and Feature addon, no extra modules and test again.
- Check also on subpage where you have simple article and RevSlider module.
I am trying to find out which extension is "guilty" , addon or RevSlider module or ??
BTW
getmagicquotesgpc() is deprecated in PHP version 7.4, before PHP 8.0
Typically I use text box, image, slide, tabs, lists, references. Mostly through the Article integration but also direct in Pagebuilder environment.
I have created one page with just a featurebox and an image. After changing to PHP 8, this test page was the only one that showed content instead of the error message. The minute I added a text box, I received the error message also for this test page.
I know teh function was depricated in PHP 7.4 yet it was still possible to select it as an option. And I have that option set to on.
I would like to send a screencast but I cannot find a plce to attach images.
use website that offer "image share" (postimages.org, or similar) or upload on your domain and share link to screenshot.
BTW
Please also share your template full name. Maybe some of addons were overriden by its developer.
In that case maybe test on default Joomla Template as well.
I am using Gantry template Hydrogen (v5.4.36 / g5_hydrogen).
Can you do also...
Switch "protostar" as your default template for 90sec - and test this same page again.
If it will not help, you have to switch to PHP 7.4 and wait for SPPB 4.x or SPPB 3.x update.
I have indeed switched to protostar and got the same error. Have a look at the screencast that I did (link in hidden content area)
Thanks,
in that case, by now you have to reverse to PHP 7.4.
and I will inform our developer to make investigation why you see that error message.
Jos,
I talked with our developer and tester - they made test and couldn't get this same issued that you have.
Probably it's caused by other extension.
-
Is it possible to get access to your website?
(we need Super User account) -
Do you use JCE Editor - if yes, is this the last version 2.9.10?
Older versions (from year ago) used in Text addons may not work with PHP 8. So you have to update.
After checking I found Iindeed had an older version of JCE (2.7.9) so I updated it and tried again with PHP 8. Unfortunately same error. Than I looked at other plugins. I have a non-supported one: uniteslider by Unite CMS. So I tried using PB slider and several other sliders Unite Nivo slider, DJ Image slider and Smartslider but same results: kept the error.
So I have given you Super User acces to my website.
Hoi,
Thanks. I think I will recover your website on my server and then disable all extra extensions and make some test on PHP 8.
I had big problems to recover your website backup. Also by Foxy Contact form that generates lots of trash database content etc.
Anyway... by now keep PHP 7.4 - it's fully safe and fast comapre to older versions.
If you have serveral minutes please make a simple test:
On your server (PHP8) install clean Joomla 3.9 + SPPB Pro + JCE and test there.
We assume that it will be no errors.
No errors on a clean install with PHP 8.03 on my local environment UNTIL I installed the Gantry framework and switched from Protostar to Gantry Helium template. Lots of error messages upon opening the template. So I am now investigating further. Will let you know if I find anything that can be of help.
Thanks a lot.
Install one by one, these same extensions that you have on the original website to find a main reason of issue.
I have now finished installing one-by-one my existing licenses to the new fresh install.
It turns out there are more extensions that are not yet suitable for PHP 8:
AutotweetNG by Extly;
EU e-Privacy Directive by Michael Richey;
ByeByeGenerator by Michael Richey;
Unite Slider by Unite CMS;
Gantry 5 framework and it's Hydrogen template.
Also noted that upon publishing a module with PageBuilder content, it gave error message and dit not want to work. This is already known with Joomshaper: https://www.joomshaper.com/forum/question/4403
Hope this helps you and other Pagebuilder users when they too experience issues with PHP8.
I will now go to work on my websites to change, deactivate or ask developers of extensions mentioned above for an update.
Thanks a lot, I guess this test took you some time.
Mine hosting provider also informed me to check everything 2x before switching to PHP8,
so by now I can use it only for websites with limited extensions installed. Not all developers published updates for their products, and probably some of them will not soon.
Indeed, like for yourself, it took some time to test this. Working together we hopefully are able to help other users.
Thanks!
Update from Extly: "AutoTweet NG PRO is going to remain compatible with Joomla 3 and PHP 5.6/7. Perfect Publisher 9 is the new major version that we are publishing with the PHP minimum requirement of PHP 7.4 or superior. Additionally, we are working to make Perfect Publisher compatible with Joomla 4.
To ease the transition, we have made available Perfect Publisher Basic to the AutoTweet and Joocial subscriptions."
So the solution to use PHP8 (and in the near future Joomla 4) is a migration to Perfect Publisher.