Page Gone Off - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Page Gone Off

MR

Mac Robert

SP Page Builder 4 years ago

Please, l added an image to the template's slideshow since then l've been getting this error meassage.

"Recoverable fatal error: Object of class stdClass could not be converted to string in /home3/imacdigi/mabid.org/templates/shaper_hope/sppagebuilder/addons/slideshow_full/site.php on line 31"

Please, could you please elaborate the error and the cause so that l might not keep repeating this kind of error, Please, l really need your help

0
8 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #12896

Hello Mac Robert

I have gone to this location: templates/shaper_hope/sppagebuilder/addons/slideshow_full and in site.php file changed line 31.

Previous: $bg_image = ($slide_item->bg) ? 'style="background-image: url('/ . JURI::base() . $slide_item->bg . '); background-repeat: no-repeat;

Now: $bg_image = ($slide_item->bg) ? 'style="background-image: url('/ . JURI::base() . (is_string($slide_item->bg) ? $slide_item->bg : $slide_item->bg->src) . '); background-repeat: no-repeat;

Best regards

1
MR
Mac Robert
Accepted Answer
4 years ago #12914

Thanks very much it's working now by the way, Khan, is the fault from me?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #12976

You are welcome. It occured because of the PHP version. We will add the compatibility in our future updates.

0
MR
Mac Robert
Accepted Answer
4 years ago #13609

great thanks

0
AH
Abdul Haseeb
Accepted Answer
4 years ago #17853

Hi Ofi..

I got the same message but I am getting

Error 0 syntax error, unexpected '.'

I have changed the PHP version to PHP 7.3.28

Please advise

thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #17863

Please post a new question about it. Our team will assist you.

0
MR
Mac Robert
Accepted Answer
4 years ago #19861

Hello please i need your help ... how do i edit the banner so i can add an image to it

0
MR
Mac Robert
Accepted Answer
4 years ago #19862

Hello please i need your help ... how do i edit the banner so i can add an image to it

0