Object Of Class StdClass Could Not Be Converted To String - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Object Of Class StdClass Could Not Be Converted To String

M

Mark

SP Page Builder 7 months ago

I receive the following error: Object of class stdClass could not be converted to string when adding a background image to a new slideshow, all exsisting slides show background correctly but error is thrown if i add a new slide and only when i assign a bg to it. I have checked and think it relates to this file templates/shaper_educon/sppagebuilder/addons/slideshow_full/site.php

and this part of the code // if have bg $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;"' : '';

                    Can you please advise fix as i have temporarily removed new slide so site functions.
                    www.parramattacollege.edu.au/

                    Joomla 4.4.12
                    Educon 4.0.1
                    php 8.2.25

                    Thanks regards Mrk
0
2 Answers
M
Mark
Accepted Answer
7 months ago #188810

Hello Ziaul

I was able to fix by downloading latest educon template and coping the site.php file overriding the old one so now it works.

Thanks regards Mark

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 7 months ago #188230

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best Regards,

0