Page crashes when adding am image element with link - Forum | JoomShaper
Staff replied SP Page Builder

Page crashes when adding am image element with link

Asked by time4digital SARL 2 years ago Last activity 2 years ago

Hi,
we're having an issue with Pagebuilder Pro 5.2.3 on Joomla 4.4.1.
Adding an image element works fine until we add a link to the image. This causes the page to crash on the frontend; removing the link afterwards does not resolve the issue.
Checking the logs/debugger reveals the following error message:

Uncaught Throwable of type Error thrown with message "Object of class stdClass could not be converted to string". Stack trace: #0 [ROOT]/components/com_sppagebuilder/parser/addon-parser.php(977): SppagebuilderAddonImage->render()

What might cause that issue? We can add the requested element fine using raw HTML, but we'd rather use the image-element.
Best regards,
Ian

2 replies

Ofi Khan Staff

Hello time4digital SARL

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 with you before sharing.

Best regards

time4digital SARL Asked this

Hey,

You can find the credentials in the hidden content box.

Best regards.

Ofi Khan Staff

The issue is on your template. It has overridden the addon (in fact many addons). Please remove the override from here:

templates/your_template/sppagebuilder/addons

and then there will be no issues.

Log in to reply.