SP Builder 5 PRO - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SP Builder 5 PRO

M

Mindaugas

SP Page Builder 2 years ago

Hello,

just few minutes ago i upgraded SP 4 to SP 5 (pro version) and got ann error:

Warning: Undefined array key 0 in /home/thodge/domains/emeraldvillasweligama.com/public_html/components/com_sppagebuilder/helpers/addon-helper.php on line 195

I think it's related to PHP version, i'm using 8.2, downgraded to 7.4, issue gone. My question why still it's not compatible with php 8.2? all adopations are made for old PHP, not for the newer version. Maybe you have some solutions hot to fix with 8.2 PHP. Thanks!

0
8 Answers
Josef Rosner
Josef Rosner
Accepted Answer
2 years ago #121812

I got the same warning!

0
M
Mindaugas
Accepted Answer
2 years ago #121813

i know it's related to PHP, but JOOMLA have red notice that PHP 7.4 version is going out on 2023.11, so why all these thigns are made for the old one, making smth new but.... to old one :)

Joomla NOTICE:

We have detected that your server is using PHP 7.4.33 which is obsolete and no longer receives official security updates by its developers. The Joomla! Project recommends upgrading your site to PHP 8.0 or later which will receive security updates at least until 2023-11-26.

Please ask your host to make PHP 8.0 or a later version the default version for your site. If your host is already PHP 8.0 ready please enable PHP 8.0 on your site's root and 'administrator' directories – typically you can do this yourself through a tool in your hosting control panel, but it's best to ask your host if you are unsure.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #121820

Hi Mindaugas,

Sorry for your experience.

Would you please try to use PHP 8.0 or 8.1 there, clear Joomla + browser cache, and let us know the outcome?

As it supports upto PHP 8.1 for now: https://www.joomshaper.com/documentation/sp-page-builder/technical-requirements

Best Regards

0
M
Mindaugas
Accepted Answer
2 years ago #121905

same, i try 8.1 PHP or 8 PHP. You can try yourselg, i put login details in hidden contect.

Now activated 8.1 PHP.

0
Josef Rosner
Josef Rosner
Accepted Answer
2 years ago #121814

i only changed 0 to 1

a few minutes before i changed the following lines 194-195 in addon-helper.php from Version SP Page Builder 5

case 1:

        return array_fill(0, 4, $spacing[0]);

to

case 1:

        return array_fill(0, 4, $spacing[1]);

it works fine without any warning and I am waiting for the Update SP PB 5.0.1, perhaps, there is no warning any more

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #121821

Thanks @Josef Rosner for your valuable suggestion on this topic:)

Have a nice day!

0
M
Mindaugas
Accepted Answer
2 years ago #121906

yeah, but you know, this is not a solution, if you need to change the valua in all website, than maybe after 5.0.1 release again move back :)

0
BD
Berti Dzidic
Accepted Answer
2 years ago #121946

upgrading from 3.8.8 to 5.0.1 --->> error ocure, page doesnt work

0