Fixter Template Error Msg - Question | JoomShaper

Fixter Template Error Msg

HK

henk keyzer

Template 3 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

0
6 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #14334

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;"' : '';

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #14157

Hello henk keyzer

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

Best regards

0
HK
henk keyzer
Accepted Answer
3 years ago #14314

OK

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #14323

Your issue is fixed now. Please check your site.

0
HK
henk keyzer
Accepted Answer
3 years ago #14331

Awesome looks good - for the records what was changed?

Thanks heaps for the quick response.

0
HK
henk keyzer
Accepted Answer
3 years ago #14337

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

Cheers

0