What Means "Object Of Class StdClass Could Not Be Converted To String"? - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

What Means "Object Of Class StdClass Could Not Be Converted To String"?

KI

Knut Ingwersen

SP Page Builder 2 months ago

What means "Object of class stdClass could not be converted to string"?

This message appears in the frontend after I've modified and saved the page builder page "IFG-Startseite" in the backend. The page isn't displayed, but instead this error message appears.

0
11 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199656

Hello,

Thanks for reaching out to us.

Could you please mention which addon is showing the error when you try to modify it?

Thanks.

0
KI
Knut Ingwersen
Accepted Answer
2 months ago #199657

I think it´s SP Page Builder

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199659

No, I mean which addon in your page IFG-Startseite?

Thanks

0
KI
Knut Ingwersen
Accepted Answer
2 months ago #199660

If I make a change and save it, the website no longer displays, and this error appears. It doesn't matter which add-on I'm editing. As soon as I make a change and save it, it happens.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199768

Hello,

Please, replace this existing Feature Addon with my provided code both admin.php and site.php and for person addon just replace site.php with new site.php code. Before using, Unzip them first.

Path: /templates/shaper_educon/sppagebuilder/addons/feature/

Feature Addon: feature.zip

Path: /templates/shaper_educon/sppagebuilder/addons/person/site.php Person Addon: site.php.zip

Hope it will resolved your issues.

Best Regards,

0
KI
Knut Ingwersen
Accepted Answer
2 months ago #199803

Hi Ziaul,

just to be sure, should I replace the files in the corresponding location with the new unziped files?

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199806

Yes.

0
S
Saratoga
Accepted Answer
2 months ago #199731

Hello,

i have the same issue. When i change an image link in addon image or try to link a title or button in addon services, the message "Object of class stdClass could not be converted to string" is showing on frontend. When I remove the link in the backend and save, the message remains. Only when I delete and hide the add-on does the page work again. At the moment i´d be unable to link my contents and change images. If i use a text module instead of the image add-on, i can at least insert images into the page, but without links to the content, it's all useless. I read that you have to edit the site.php of the add-ons so that this error no longer occurs. But what do i have to change to make it work again?

PHP Version: 8.1.33 SP Page Builder: 5.7.1

Thx for your help!

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199764

It depends on which template you’re using. I recommend searching the forum based on your specific template — you’ll likely find a solution there.

However, if you don’t find any helpful answers, please create a new post and include your site access details in hidden content so others can assist you directly.

Thanks!

0
KI
Knut Ingwersen
Accepted Answer
2 months ago #199871

Thank you so much for your help, it works! We're really happy that everything is working again!

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #199938

It’s great to hear that your issue has been resolved. If everything is working fine now, please mark the question as complete by accepting any of our answers.

Thank you!

0