Object Of Class StdClass Could Not Be Converted To String - Question | JoomShaper

Object Of Class StdClass Could Not Be Converted To String

JF

Jens Funk

SP Page Builder 10 months ago

Without any special reason I get a white page with the error message "Object of class stdClass could not be converted to string". The error only occurs when used with the "Image" element. If I switch this off or set it to "Hide", it works again. However, I can no longer use the image element. Is there a solution for this? Best, Jens

SPPB 5.5.2, PHP 8.2.25, Joomla! 5.1.2

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 10 months ago #184957

Hi Jens,

It's probably cauded by Image addon override. Becuase you forgot to share full template name, I will try to improvise

DELETE/REMOVE from folder all files inside

templates\shaper_NAME\sppagebuilder\addons\image


Documenation >> https://www.joomshaper.com/documentation/sp-page-builder/troubleshooting#object-of-class-stdclass-could-not-be-converted-to-string

0
JF
Jens Funk
Accepted Answer
10 months ago #184992

Hello Paul, Thank you very much for the quick reply. I do indeed use Educon. But if I delete the whole directory /templates/shaper_educon/sppagebuilder/addons/image, the whole site crashes. If I rename only the file site.php, then it works. In this respect, this is a solution for now.

Best, Jens

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 10 months ago #184996

it's better to delete that file (not rename), and admin.php if you have it as well.

0