SPB as a site module: Unsupported operand types: string + int - Forum | JoomShaper
Awaiting an answer SP Page Builder

SPB as a site module: Unsupported operand types: string + int

Asked by Stefan 4 years ago Last activity 3 years ago

Latest PHP (8.x)
Latest Joomla (4.x)
Latest Helix Ultimate
Latest SPB Pro (4.x)

When I try to add a site module with SPB and assign a position (like footer) I'll get the following error:

Unsupported operand types: string + int

Debug:

#   Function    Location
1   ()  JROOT/components/com_sppagebuilder/addons/icons_group/site.php:65
2   SppagebuilderAddonIcons_group->render() JROOT/components/com_sppagebuilder/parser/addon-parser.php:728
3   AddonParser::getAddonHtmlView() JROOT/components/com_sppagebuilder/parser/addon-parser.php:414
4   AddonParser::viewAddons()   JROOT/modules/mod_sppagebuilder/tmpl/default.php:55
5   require()   JROOT/modules/mod_sppagebuilder/mod_sppagebuilder.php:22
6   include()   JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
7   Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()   JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
8   Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()  JROOT/libraries/src/Helper/ModuleHelper.php:281
9   Joomla\CMS\Helper\ModuleHelper::renderRawModule()   JROOT/libraries/src/Helper/ModuleHelper.php:161
10  Joomla\CMS\Helper\ModuleHelper::renderModule()  JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99
11  Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render()  JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50
12  Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:565
13  Joomla\CMS\Document\HtmlDocument->getBuffer()   JROOT/libraries/src/Document/HtmlDocument.php:848
14  Joomla\CMS\Document\HtmlDocument->_renderTemplate() JROOT/libraries/src/Document/HtmlDocument.php:633
15  Joomla\CMS\Document\HtmlDocument->render()  JROOT/libraries/src/Application/CMSApplication.php:1017
16  Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:714
17  Joomla\CMS\Application\SiteApplication->render()    JROOT/libraries/src/Application/CMSApplication.php:299
18  Joomla\CMS\Application\CMSApplication->execute()    JROOT/includes/app.php:61
19  require_once()  JROOT/index.php:32

EDIT:
I found the issue but im not able to solve it.
When i remove the icon group - then its working fine.

32 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

I have checked module with icon group addon and it works fine.

http://helix-framework.org/

Title position. Also, i have checked with bottom4 position & no problem found.

-Thanks

Jürgen
3 years ago · edited

I had the same error message and probably found the solution:

The error message:
Unsupported operand types: string + int

occur when a line is copied with the "icons group" addon.
Better:
Create a new line with the addon. Then it works!

(but this is no the solution for den addon "article scroller" - two rows with article scrollers have problems)

Toufiq Senior Staff

@Jürgen Can you share an screencast video about the full scenario & provide me your site login credential to check the issue. Thanks

Jürgen

You mean this?:

(but this is no the solution for den addon "article scroller" - two rows with article scrollers have problems)

Jürgen
3 years ago · edited

If I have two article scrollers (A and B) in two rows.

Article scroller A: Show 1 item/article /
Article scroller B: Show 1 item/article
= all OK

Article scroller A: Show 1 item/article /
Article scroller B: should Show 4 item/article
= not OK; B shows only 1 item/article, sometimes show for seconds more articles

At the latest after refreshing the web page the error occurs.

I give you an access to frontend in 10-15 minutes.

Jürgen
3 years ago · edited

Sometimes after 2x refreshing the website you can see the mistake.
Now you get the frontend access.

Jürgen

I can see in your example (firefox and chrome pc browser):
in both rows 3 articles.

But I know it must be more, because I see more articles for 1/10 second after start the site or sometimes after refreshing

same problem!

How much articles see you?

Jürgen
3 years ago · edited

Please tell me your result if you want show:
above scroller 1 article and the other scroller 3 arcticles

Log in to reply.