Floox Template - Question | JoomShaper

Floox Template

GW

Guido Winter

Template 1 week ago

Hi everyone,

with the template "floox" in the addon Slider, I can not insert a background image, it comes an error message:

Recoverable fatal error: Object of class stdClass could not be converted to string in /www/htdocs/myhomepage/myhomepage/templates/shaper_floox/sppagebuilder/addons/slideshow_full/site.php on line 47

in the editor the line 47 looks like this:

47 $bg_image = ($slide_item->bg) ? 'style="background-image: url('/ . JURI::base() . $slide_item->bg . '); background-repeat: no-repeat;
48  background-size: cover; background-position: center center;"' : '';

the image size 1920x 909 should be correct, what should I change?

Thanks!

best regards, Guido

0
6 Answers
Muntasir Sakib
Muntasir Sakib
Accepted Answer
Support Agent 6 days ago

Hello there,

Your issue is fixed now. Please check from your end.

Thanks!

1
Muntasir Sakib
Muntasir Sakib
Accepted Answer
Support Agent 1 week ago

Hello there,

Please change the code from templates/shaper_qubic/sppagebuilder/addons/slideshow_full and edited site.php line 47

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

with this

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

It will solve your issue hopefully.

Thanks!

0
GW
Guido Winter
Accepted Answer
1 week ago

Hello,

I put your code and then comes a sintax error "syntax error, unexpected '.' "

comes up and the homepage is complett off

if I switch off addon and insert a new one, works again, until I insert a new image again, so if there are no images yet, then works with first image, as soon as I change this image, insert other image, comes an error message --- templates/shaper_floox/sppagebuilder/addons/slideshow_full/site.php on line 47

Thanks!

best regards

0
Muntasir Sakib
Muntasir Sakib
Accepted Answer
Support Agent 1 week ago

Hello there,

Please share your administrator access with us in the Hidden Content area so that we can check the issue from our end.

Thanks!

0
GW
Guido Winter
Accepted Answer
6 days ago

Hello,

your administrator access with link

Hidden Content

Thanks!

0
GW
Guido Winter
Accepted Answer
5 days ago

Hello,

yes, works, thank you very much!

best Regards

0