Problem with add-on in Sp Page Builder (Object of class stdClass could not be converted to string) - Forum | JoomShaper
Solved SP Page Builder

Problem with add-on in Sp Page Builder (Object of class stdClass could not be converted to string)

Asked by Michał 2 years ago Last activity 2 years ago

Hello. I have a problem with the Sp Page Builder element (please see photo no. 1 below). When I add this add-on or copy it and save it on the page, it displays correctly, but when I change something in this add-on, e.g. add/change the url address or a photo, an error immediately appears on the front page "Object of class stdClass could not be converted to string" (please see photo no. 2 below).

Foto 1

Foto 2

Please help me solve the problem.
Best regards, Michał.

Accepted answer

Marked as the solution
Ofi Khan Staff

I have fixed the buttons on these 2 pages. If you find this on any other feature addon button link, then copy and paste the link address. It will be solved. I have recorded a screencast for your clear understanding. Please check it in the hidden content box.

5 more replies

Ofi Khan Staff

Hello Michał

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

Best regards

Michał Asked this

Hi. Administrator access i Hidden Content.
Regards.

Ofi Khan Staff

I have modified this file:

templates/shaper_educon/sppagebuilder/addons/feature/site.php

Your issue is fixed. Please check your site.

Michał Asked this

Hi, no unfortunately it still doesn't work. Pleas see video in Hidden Content.

Ofi Khan Staff

I have again modified the file. Please check now.

Michał Asked this

It works almost fine. After pasting the link into the button I still get the same error.

Ofi Khan Staff

Fixed again. Please check now.

Michał Asked this

Can I ask you to correct the last mistake?

Ofi Khan Staff

I had changed on line 37. If I revert it back, then you will have errors on the page. The button does not work for links. It will work for uploaded media such as image files, pdf files etc.

Michał Asked this

But the "old buttons" in the elements already added work correctly, i.e. the links to the pages placed in them work, so why does the button not work after adding a new element (links to the pages do not work?). There is clearly a problem with Sp Page Builder or the template.

Ofi Khan Staff

The feature addon is overriden on Educon template and it is causing the problem. I have asked the developer team to check this issue.

Michał Asked this

Okay thank you

Ofi Khan Staff

I have fixed the file with the help of developer team. Please check now.

Michał Asked this

Yes, this button started working, but the other buttons stopped working.

Ofi Khan Staff

Which button has stopped working? Please guide me. I will fix it too.

Michał Asked this

OK, I see that everything is working correctly now. I understand what you mean by fixing potentially broken links. Thanks for helping me solve the problem. Best regards, Michał

Ofi Khan Staff

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

Log in to reply.