Feature Box Image Crashes Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Feature Box Image Crashes Page

I

Ingenium

SP Page Builder 2 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

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #124785

Hi,

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

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #124789

Hi

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

-Regards.

0
I
Ingenium
Accepted Answer
2 years ago #124848

Hello,

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #124852

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #124853

...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #124856

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

0
I
Ingenium
Accepted Answer
2 years ago #124859

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #124866

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

0