Fixter template error msg - Forum | JoomShaper
Solved Templates

Fixter template error msg

Asked by henk keyzer 5 years ago Last activity 5 years ago

Hi,

Updated an older Joomla site using Fixter template to:
Joomla: V3.9.26
PHP: 7.3.27
Helix: 1.1.2
Fixter: 1.3
Site: www.kawaubaykitchen.nz (site not currently using fixter as default while error occurs)

When this template is set as the default I get the error msg:
Recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/vhosts/kawaubaykitchen.nz/httpdocs/templates/shaper_fixter/sppagebuilder/addons/slideshow_full/site.php on line 39

Look forward to your assistance.

Thanks
Henk

Accepted answer

Marked as the solution
Ofi Khan Staff

In this file: templates/shaper_fixter/sppagebuilder/addons/slideshow_full/site.php I have changed the line 39 from this

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

to this

$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; background-size: cover; background-position: center center;"' : '';

5 more replies

Ofi Khan Staff

Hello henk keyzer

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

Best regards

henk keyzer Asked this

OK

Ofi Khan Staff

Your issue is fixed now. Please check your site.

henk keyzer Asked this

Awesome looks good - for the records what was changed?

Thanks heaps for the quick response.

henk keyzer Asked this

Thanks again, saw a post along those lines but php not my strong point - must have done something wrong in the coding.

Cheers

Log in to reply.