Solved Templates

Problem with template OneClip > Unsupported operand types: string + in

Asked by Wes 3 years ago Last activity 3 years ago

Dear,

Fresh installed on our server (kickstart package) we get next error "Unsupported operand types: string + in"

Location of the error :JROOT/templates/shaper_oneclip/sppagebuilder/addons/tab/site.php:30

PHP 8.0.28
Joomla! 4.2.8 Stable

(I'm unable to downgrade PHP or Joomla)

br

Wesley

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Wes

Please go to this location: templates/shaper_oneclip/sppagebuilder/addons/tab and replace site.php file with the attached file. You need to unzip the file and then replace.

default.php.zip

Best regards

4 more replies

Wes Asked this

Another issue , uploaded to the site , unziped, replced site.php file with default.php file , provided the correct rights on the filesystem, restarted system...

STACK Trace
Using $this when not in object context
Call stack

Function Location

1 () JROOT/templates/shaper_oneclip/sppagebuilder/addons/tab/site.php:20
2 require_once() JROOT/components/com_sppagebuilder/parser/addon-parser.php:219
3 AddonParser::getAddons() JROOT/components/com_sppagebuilder/parser/addon-parser.php:1157
4 require_once() JROOT/components/com_sppagebuilder/views/page/tmpl/default.php:65
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:51
8 SppagebuilderViewPage->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
9 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_sppagebuilder/controller.php:80
10 SppagebuilderController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_sppagebuilder/sppagebuilder.php:26
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

Ofi Khan Staff

Where is the issue shown? If everything works well, then ignore it.

Wes Asked this

Well the website doesn't load .... I enabled the debugging mode to show more details on this error

Ofi Khan Staff

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.

Log in to reply.