SP Page Builder 5 Warning: Undefined array key 0 in ...\components\com_sppagebuilder\helpers\addon-helper.php on line 195 - Forum | JoomShaper
Staff replied SP Page Builder

SP Page Builder 5 Warning: Undefined array key 0 in ...\components\com_sppagebuilder\helpers\addon-helper.php on line 195

Asked by Josef Rosner 3 years ago Last activity 3 years ago

Hello,
SP Page Builder 5
Warning: Undefined array key 0 in ...\components\comsppagebuilder\helpers\addon-helper.php on line 195

I deleted the new addon-helper.php from today, took the "old" addon-helper.php from 5.0.0 rc3 and there is no warning any more.

can you please check this ?

regards
Josef

6 replies

Toufiq Senior Staff

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

Josef Rosner Asked this

i am testing SP PB 5 local, I think, it is not possible to come on my PC

Toufiq Senior Staff

Can you create a staging site on your live server to check the issue and make a better product for you :) Thanks

Josef Rosner Asked this

the Problem with "add new item with SP Portfolio" is greater than the warning and with the old php there is no warning any more

Toufiq Senior Staff

We want to solve the issue. If you help us to make a staging site then it would be great to make a great product. Thank you

Josef Rosner Asked this

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

Toufiq Senior Staff

Can you give me a akeeba backup zip file to check my end?

David Arnaud-Jouffrey

Hello,

Same problem but at line 197.

I replace by that : return [$spacing[1], $spacing[1], $spacing[1], $spacing[1]];

It works but I don't now what I did ^^

Toufiq Senior Staff

I am waiting your feeback. Thanks

Josef Rosner Asked this

i have the problem solved - too much effort to send you my files - i have no akeeba, i make my backups manually every week - SQL-database and all folders + subdirectories

I am now working on a solution for "add new items with SP Portfolio", because you do nothing in this case!

Toufiq Senior Staff

Let me know if you need further any help about our products. Thanks

Josef Rosner Asked this

yes sir, add new items with SP Portfolio in SP Page Builder 5

Toufiq Senior Staff

Will you please provide me the Joomla administrator access to check the issue?

Log in to reply.