Object Of Class StdClass Could Not Be Converted To String - Question | JoomShaper

Object Of Class StdClass Could Not Be Converted To String

D

Dr. Colette Andrée

Template 1 year ago

https://migraineaction.ch/

After adding a picture to the Image Carousel

Never happened before under Joom 4.x

0
21 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166540

Hi,

  1. What SPPB version you have?
  2. Can you enable that - and check error messages

error_reporting_debug.jpg

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166554
  1. SPBP Version 5.3.6
  2. I will do that; I restored the site and we will try again and see what happens
0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166596

Hi again

Ok the promblem is defenetly the image carousel. As soon as we change or ad something site crashes.

Can you please let us know the issue,we suspect it has to do with the new SPBP Version.

0
AC
Alexandre Carol
Accepted Answer
1 year ago #166625

Hello

We have the same problem.

Joomla version: 4.3.4 and SP version: 5.3.2

Thank you very much, Àlex

Object of class stdClass could not be converted to string

Call stack

Function Location

1 () JROOT/templates/shaper_floox/sppagebuilder/addons/slideshow_full/site.php:47 2 SppagebuilderAddonSlideshow_full->render() JROOT/components/com_sppagebuilder/parser/addon-parser.php:1024 3 AddonParser::getAddonHtmlView() JROOT/components/com_sppagebuilder/parser/addon-parser.php:465 4 AddonParser::viewAddons() JROOT/components/com_sppagebuilder/views/page/tmpl/default.php:92 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:74 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
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166735

@Alex, in your case problem is caused by addon template override (!) and totally different addon (!)

File: templates/shaper_floox/sppagebuilder/addons/slideshow_full/site.php

Download File, Unzip and Override that file, it should help

site-slideshow.zip

1
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166739

About Image Carousel addon - tested and worked fine in back-end editor, I used images from you Media.

Below is link to "Test" page ID 680.

Maybe you should delete current addon, and recreate it as new one. Guessing....

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166793

Thanks for your feedback but it can't be the solution that I have to redo the whole addon which has worked perfeclty fine so far.

Anyways I tried it in my test enviroment and I still get the same problem. I used a picture which is working at them moment in production and it doesn't work now.

So I suspect there has been a change in handling and we do it wrong.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166922

Please record short video what is wrong, becuase I am now more confused that I was before. Sorry.

Test also using my Page ID 680

0
AC
Alexandre Carol
Accepted Answer
1 year ago #166911

Thank you very much!

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166932

Sorry for confusing you more.

We are trying to ad an image to our Carousel which has worked perfectly fine over the past years. Now suddenly when since we have SP version: 5.3.2 we can't add or change anything in the Carousle.

As you suggested I deleted current addon, and created a new one on our test site (Below is the link to test site) and I have the same problem.

Since we've never had a problem it surely must have something to do with the new Version or not?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166934

As you saw on my Test Page, I was able on your main domain.

And, YES - Now I will test your subdomain !! as well.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166935

Opsss...

Warning! Login denied! Your account has either been blocked or you have not activated it yet.

Can you create me new account or activate.


I think I know what is wrong with Finance template. Probably you have addon override from old times, that folder must be deleted.

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166944

Thanks a lot.

You should have Access to both sites I just set it again.

What I don't understand is that you were able to create a new carousel and it works and mine doesn't.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166958

Danke.

  1. But are 100% sure that we both talking about Image Carousel addon? info_3089_2024.gif

  2. Indeed was a problem but with Slideshow_full addon (old override). But it's totally different addon, but with similar features. Now is OK.


I tested and both works good.

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #166961

Danke : )

Sorry my bad - yes I meant Slideshow_full addon.

I see you delted the Slideshow addon which is not what we want.

We want to keep the current Slideshow and just add an extra Picture. Recreating the whole Slideshow with all the Links would mean multiple hours of work which is not acceptable.

We change Thomas this slide show at least every three month and we've never had a Problem until now. Please advise on cause and feasable solution.

I am gonna restore the Test site so we can take it from there. Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166991

Please use Slideshow addon that is built-in in every SPPB 5 installation. The addon that you had was very old, not supported anymore.


In v1.2 and v2.0 of that template was NOT included, you had it probably from very old times, or was added by someone from your team. I assume that that addon was coded only for SPPB 3.x, and that's why didn't work anymore in SPPB 5.x. You updated code of addons last year.

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #167004

I think it is weird that an addon is not upgrade. So basically I have to be worried all the time that an addon might not be working anymore after an update. So nothing we can do except put hours of work into it again.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #166993

I talk about addons overrides from that folder: templates\shaper_finance\sppagebuilder\addons

that you had before my actions.

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #167003

That's what I thought but this means we have to do everything again.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #167008

Or compare old addon code with the new one, maybe your IT guy have to correct only 1-2-3 lines of code, that's all.

In debug mode you should be able to see which line makes a problems.

0
D
Dr. Colette Andrée
Accepted Answer
1 year ago #167016

: (

0