PHP 8 error - Forum | JoomShaper
Awaiting an answer SP Page Builder

PHP 8 error

Asked by Jos Teunissen 5 years ago Last activity 5 years ago

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?

18 replies

Rashida Rahman Staff

Hi there!

Sorry for your issue.

When and how you met with this error?

Can I have a screencast, please?

Best Regards

Paul Frankowski Senior Staff
5 years ago · edited

BTW

  1. On those pages where you see (saw) that error - what addons you're using?
  2. Can you make a simple test page and use there only Image and Feature addon, no extra modules and test again.
  3. 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

Jos Teunissen Asked this

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.

Paul Frankowski Senior Staff
5 years ago · edited

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.

Jos Teunissen Asked this

I am using Gantry template Hydrogen (v5.4.36 / g5_hydrogen).

Paul Frankowski Senior Staff

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.

Jos Teunissen Asked this

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)

Paul Frankowski Senior Staff

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.

Paul Frankowski Senior Staff
5 years ago · edited

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.

  1. Is it possible to get access to your website?
    (we need Super User account)

  2. 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.

Jos Teunissen Asked this

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.

Log in to reply.