Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 19h 08m 04s
Claim 50% off
Solved Templates

floox Template

Asked by Guido Winter 5 years ago Last activity 5 years 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

Accepted answer

Marked as the solution
Muntasir Sakib Staff

Hello there,

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

Thanks!

5 more replies

Muntasir Sakib Staff

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!

Guido Winter Asked this
5 years ago · edited

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

Muntasir Sakib Staff

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!

Guido Winter Asked this

Hello,

your administrator access with link

Hidden Content

Thanks!

Guido Winter Asked this

Hello,

yes, works, thank you very much!

best Regards

Log in to reply.