SP Page Builder 5 Warning: Undefined Array Key 0 In ...\components\com_sppagebuilder\helpers\addon-helper.php On Line 195 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SP Page Builder 5 Warning: Undefined Array Key 0 In ...\components\com_sppagebuilder\helpers\addon-helper.php On Line 195

Josef Rosner

Josef Rosner

SP Page Builder 2 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

0
13 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121669

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

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

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121671

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

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

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121699

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

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

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121715

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

0
DA
David Arnaud-Jouffrey
Accepted Answer
2 years ago #121823

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 ^^

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121826

I am waiting your feeback. Thanks

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

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!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121845

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

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

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #121854

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

0