Feature Box Image crashes page - Forum | JoomShaper
Solved SP Page Builder

Feature Box Image crashes page

Asked by Ingenium 3 years ago Last activity 3 years ago

Hello,

I just updated our Joomla to Version 4 and php 8. After editing a page in sppb 5 the webpage is returning an error (see below). After investigating I realized that somehow the image of the feature box is most likely crashing the pages.
I assume I have to alter the file templates/shaper_educon/sppagebuilder/addons/feature/site.php
Could you please elaborate how I have to alter the file, because I have to do it on 3 different websites.

Error message with call stack:
0
Object of class stdClass could not be converted to string

Call stack

function location
1 () JROOT/templates/shaper_educon/sppagebuilder/addons/feature/site.php:87
2 SppagebuilderAddonFeature->render() JROOT/components/com_sppagebuilder/parser/addon-parser.php:802
3 AddonParser::getAddonHtmlView() JROOT/components/com_sppagebuilder/parser/addon-parser.php:434
4 AddonParser::viewAddons() JROOT/components/com_sppagebuilder/views/page/tmpl/default.php:90
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
7 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_sppagebuilder/views/page/view.html.php:63
8 SppagebuilderViewPage->display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
9 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_sppagebuilder/controller.php:81
10 SppagebuilderController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:678
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_sppagebuilder/sppagebuilder.php:24
12 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
16 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
17 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
19 require_once() JROOT/index.php:32

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

Hi,

there is quick fix for for that, delete addon override. what I did already.

7 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Please check your override addon and delete that. Clear your Joomla and browser cache then check again.

-Regards.

Ingenium Asked this

Hello,

thanks for your fast reply. Unfortunately with this solution the buttons of the feature box aren't loading anymore.

Paul Frankowski Senior Staff

That one I can check... becuase button always was included in that addon.

Paul Frankowski Senior Staff
3 years ago · edited

...

Paul Frankowski Senior Staff

Now you should be able to add buttons, and they will be visible I made test.
Maybe old addon made a mess. Please add all missing buttons again.

info_1366_2023.gif

Ingenium Asked this

Ok, thanks for the help. Just so I can comprehend, you deleted the site.php and admin.php, correct?

Paul Frankowski Senior Staff

Yes, I don't know why somebody only renamed site.php that instead delete whole folder ;/

Log in to reply.