Error After Installation Sp Page Builder Pro - Question | JoomShaper

Error After Installation Sp Page Builder Pro

M

Marek

SP Page Builder 11 months ago

Please help, this error is displayed after installation on the home page and the SP page builder on the backend of the site does not work

Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /luca.szczecin.pl/administrator/components/com_sppagebuilder/dynamic-content/Model.php on line 419

0
11 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 11 months ago #183177

Dear Marek,

Thank you for reaching out to us. Could you please confirm which versions of Joomla, MySQL, and PHP you are currently using? This information will help us assist you more effectively.

Thanks for your cooperation.

Best regards,

0
D
David Payá Murcia
Accepted Answer
11 months ago #183477

I have the same problem

PHP Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset) must be compatible with ArrayAccess::offsetExists($offset)

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 11 months ago #183480

Hello,

Did you checked by installing latest build v5.5.1?

Best Regards,

0
D
David Payá Murcia
Accepted Answer
11 months ago #183482

Yes, the problem is with version 5.5.1

And now If I have a rollback to other versión I get a error 500 too.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 10 months ago #183708

Yes, SP Page Builder 5.5.1 requires a minimum of PHP 8.1.

To resolve your current issue, please delete the following three addons from your Joomla root folder:

Path: JRoot/components/com_sppagebuilder/Addons/

  1. dynamic_content_collection
  2. dynamic_content_text
  3. dynamic_content_image

This should resolve your issue.

Thanks,

0
F
frik
Accepted Answer
11 months ago #183681

Hi, we had the same issue. First I also tried downgrading back to version 3.8.10 but then we had a helix3 template error. After that, we upgraded the Page Builder with major version 4 and then to 5 and checked the server settings. The Joomla itself was on 4.3.1 so we upgraded it first to 4.4.10 and also raised the PHP version to 8.1 from 7.4 and after these steps, the latest version of SP Page Builder works fine now. Now we have also upgraded the web page to Joomla 5 and everything is fine and works as it should.

I think that the PHP and Joomla versions are the key. Check them if they're on PHP 8.1 and the Joomla is 4.4.10 at least.

I hope it helps you fixing the problem too.

FRIK

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 10 months ago #183709

Hello Frik,

Thanks for your guide. Yes, SP Page Builder 5.5.1 requires PHP 8.1 to run smoothly.

Best regards!

0
NS
Norm Stephens
Accepted Answer
11 months ago #183685

This latest update has also broken one of our sites and rolling back to an old version can't undo the mess.

Same error:

Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /home/acfirstaid/public_html/administrator/components/com_sppagebuilder/dynamic-content/Model.php on line 419

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 10 months ago #183710

Hello Stephens,

Could you please check your PHP version and ensure that you are using PHP 8.1 or higher?

Thanks!

0
W
Wieslaw
Accepted Answer
10 months ago #186110

I have the same problem as Norm Stephens. /home/users/xxxxxxx/public_html/administrator/components/com_sppagebuilder/dynamic-content/Model.php:419

php = 7.4.33 joomla = 4.4.11 SP Page Builder 5.5.2

The error occurred after updating SPPB from 5.5.1 to 5.5.2 After a rollback to the older version still the same problem. I am asking for advice, please. ps. Unfortunately, I can't upgrade my php without changing my server provider.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 10 months ago #186177

Hello,

I would suggest creating a separate post for this. Hopefully, you’ll get a solution as soon as possible.

Thanks!

Best regards,

0