Object Of Class StdClass Could Not Be Converted To String - How To Resolve This Error? - Question | JoomShaper

Object Of Class StdClass Could Not Be Converted To String - How To Resolve This Error?

TomaszGrzechnik

TomaszGrzechnik

SP Page Builder 11 months ago

Hi, I had site on J3 - there was a problem:"Object Of Class StdClass Could Not Be Converted To String." Ok - maybe it's too old version of Joomla, site was updated to 5.2.1 and problem remains.

I can't add image addon or Joomla module to page in SP Page Builder, every time I recive:"Object Of Class StdClass Could Not Be Converted To String."

I try to made new page, and put image and Joomla module, but no success. SP Page Builder 5.4.2 PHP 8.2 J 5.2.1

In debug mode I have: JROOT/templates/shaper_kidzy/sppagebuilder/addons/image/site.php:50 JROOT/components/com_sppagebuilder/parser/addon-parser.php:1033

Please help me to resolve this problem

0
10 Answers
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 11 months ago #175468

Hi Tomasz Grzechnik,

Thank you for reaching out, and I am sorry for the inconvenience.

The issue is related to an override of the 'image' addon in the shaper_kidzy template. However, the latest update of the template has resolved this issue.

In the meantime, you can resolve the problem by renaming the file site.php to __site.php in the following directory: JROOT/templates/shaper_kidzy/sppagebuilder/addons/image/site.php

Alternatively, if you would like us to fix the overridden addon, please provide Joomla admin access to the hidden content section, and we will address the issue for you.

Note: Please keep full site backup before any update.

Best regards

0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
11 months ago #175473

Thanks for reply, Changing site.php to site.phpx resolving problem, but I prefer to fix it. Of course can you check the same for Joomla module addon?

Credentials are in hidden section

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 11 months ago #175476

Could you please verify the login URL? It appears to be inaccessible.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 11 months ago #175480

Czesc Tomasz,

In general, overwriting the Image addon was a bad idea from our side, I suggest simply deleting the folder. There is nothing to fix here, as you need to use the latest version from the component to enjoy the full functionality of the addon.


Ogólnie, nadpisanie Image addon to był zły pomysł z naszej strony, sugeruje po prostu usunąć ten folder. Tu nie ma co naprawiać, bowiem abyś cieszył się pełną funkcjonalnością addonu trzeba używać najnowszej wersji pliku wprost z komponentu. Wrzucenie tam orginalnego pliku nie ma sensu.

Opcja (w razie czego) :

  1. Usuń pliki site.phpand admin.php z folderu templates/shaper_kidzy/sppagebuilder/addons/image/
  2. I zostaw sam folder "image" pusty
  3. Używając FTP zmień uprawnienia do folderu z 755 na 700, wtedy nic ci tam nie wleci podczas nowej aktualizacji. A przynajmniej nie powinno.
  4. I tyle.
0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
11 months ago #175481

please check - it's backend login page

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 11 months ago #175483

LOOK UP

0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
11 months ago #175485

Thanks Paul :) Your solution works

Next question: What about other addons in this folder?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 11 months ago #175488

It depends which one.

In general only class_routines is unqiue made for that template. call_to_action- is old addon, am not sure if it was used by you even. Its features were replaced by Feature addon a long time ago.


For sure, I would remove google maps (gmap) and testimonialpro override - to have a new code.


With slideshow_full - I would be careful.

0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
11 months ago #175491

Thanks a lot!!! Now I know how to do with old addons :)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 11 months ago #175533

You're welcome.

0