SPB As A Site Module: Unsupported Operand Types: String + Int - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SPB As A Site Module: Unsupported Operand Types: String + Int

S

Stefan

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

0
32 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #90953

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

0
J
Jürgen
Accepted Answer
2 years ago #103990

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)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104043

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

0
J
Jürgen
Accepted Answer
2 years ago #104046

You mean this?:

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

0
J
Jürgen
Accepted Answer
2 years ago #104049

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.

0
J
Jürgen
Accepted Answer
2 years ago #104054

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104065

Check this URL and let me know if you found the same problem.

http://helix-framework.org/en/?option=com_sppagebuilder&view=page&id=16

0
J
Jürgen
Accepted Answer
2 years ago #104071

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?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104072

You should wait for the compete load of your site.

Firefox

https://prnt.sc/cOcodCJZE0Ve

Google chrome

https://prnt.sc/ecrIBfTN3Y6m

0
J
Jürgen
Accepted Answer
2 years ago #104076

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104194

Please check this URL and let me know. administrator access hidden content.

http://helix-framework.org/en/?option=com_sppagebuilder&view=page&id=16

0
J
Jürgen
Accepted Answer
2 years ago #104226

Hello, I give you now a super administrator access. You could see than the problem.

Backend = sp page builder configuration: Scroller above: show 2 articles / Scroller down: show 4 articles

Frontend = Scroller above: show 2 articles / Scroller down: show 2 articles

This is the problem.

Thank you and greetings

Hidden: Access

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104239
0
J
Jürgen
Accepted Answer
2 years ago #104242

upps...hidden...

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104248

This type of problem occurred for the small amount of article. Please check now. Now article item increased. Thanks

0
J
Jürgen
Accepted Answer
2 years ago #104253

First: call up the website: show 2 and 4 articles: correct // After refreshing the Website: show 2 + 2 articles - tested on firefox and chrome

I think this is not the reason (small amount of articles)

Any other idea?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104396

Yes, I just saw the problem and added this css code inside the addon settings.

Initial solution

#addonId .sppb-addon-articles-scroller .bx-viewport {
  height: 456px !important;
}

-Thanks

0
J
Jürgen
Accepted Answer
2 years ago #104399

Thank you. For this special case it helps.

However, the addon needs to be checked. If other settings (number of articles to slide, animation speed) are different, there are also problems. Maybe you can manage to solve the problems.

For now, I will provide only one line with this addon.

Many greetings

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104464

Already, I have informed our developer team. I hope they will bring some extra feature with solution. Thanks for stay with us.

0
J
Jürgen
Accepted Answer
2 years ago #104517

Thank you very much for your help.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #104661

You are most welcome. Will you please spend some to write a review about our product and support quality? 

https://extensions.joomla.org/extension/sp-page-builder/

https://www.trustpilot.com/review/www.joomshaper.com

0
Paul
Paul
Accepted Answer
2 years ago #105048

I have the same problem..

0
J
Jürgen
Accepted Answer
2 years ago #105059

Hello Paul, I think there are some improvements needed for the Articles Scroller addon. We have to hope that the programmers will fix it quickly. Since we pay for the addon, this should happen as soon as possible!

In my case, I only use this addon for one line. Additionally I use the addon "Article", even several times. There are no problems.

Thereby there is also an advantage: In the context of the low barrier display it is good to have also many areas that do not move.

0
Paul
Paul
Accepted Answer
2 years ago #105080

Hi Jürgen

My issue is with adding a new page and linking it to the team carousel which gives a similar error: error 0 Unsupported operand types: string + int

0
J
Jürgen
Accepted Answer
2 years ago #105103

On the overview page of all pages of sp page builder: Page is unlocked?

0
J
Jürgen
Accepted Answer
2 years ago #105105

https://www.joomshaper.com/forum/question/20542 Joomla and sp page builder newest version? I think I have no more ideas. Maybe Joomshaper Team.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #105151

@Paul Please create new forum post & share your I will check your issue.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #105152

@Jürgen Already I have informed our developer team to check the issue and they informed me yes there has an issue. I hope they will find out the solution as soon as possible. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #105153

@Jürgen What happen on this post?

https://www.joomshaper.com/forum/question/20542

0
Paul
Paul
Accepted Answer
2 years ago #105156

@Toufiq I have done so already..

https://www.joomshaper.com/forum/question/22275

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #105162

Thanks

0
J
Jürgen
Accepted Answer
2 years ago #105191

@Jürgen What happen on this post?

https://www.joomshaper.com/forum/question/20542

I thought that would help Paul.....but probably not.

0