0 Cannot use object of type stdClass as array - Forum | JoomShaper
Solved SP Page Builder

0 Cannot use object of type stdClass as array

Asked by Deon Holtzhausen 3 years ago Last activity 3 years ago

Hi.

Joomla 3 & SP PB # Pro. I started gettings this message after upgrading to J4 & SP PB 5. I restored a backup made before the upgrade but it hasn't fixed the problem. I can work at the backend of Joomla without a problem as long as I don't try to edit SP PB pages. when I try to edit, I get this error message:
0
Cannot use object of type stdClass as array

This is the Stack
1 () JROOT/components/com_sppagebuilder/addons/tweet/site.php:59
2 SppagebuilderAddonTweet->render() JROOT/components/com_sppagebuilder/parser/addon-parser.php:469
3 AddonParser::getAddonHtmlView() JROOT/components/com_sppagebuilder/parser/addon-parser.php:315
4 AddonParser::viewAddons() JROOT/components/com_sppagebuilder/views/page/tmpl/default.php:95
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
7 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_sppagebuilder/views/page/view.html.php:47
8 SppagebuilderViewPage->display() JROOT/libraries/src/MVC/Controller/BaseController.php:664
9 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_sppagebuilder/controller.php:81
10 SppagebuilderController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:702
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_sppagebuilder/sppagebuilder.php:24
12 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
13 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

Accepted answer

Marked as the solution
Toufiq Senior Staff

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

Before going to update you should follow this post.

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

-Thanks

1 more reply

Deon Holtzhausen Asked this

Hi, no problem.

Thanks very much.

Toufiq Senior Staff

Thanks for your response. I just shared your credential to our developer team. I will get back to you soon when our developer team solve the issue. Your site is live now except tweet addon. Thanks

Deon Holtzhausen Asked this

Good morning. Thank you very much.

Toufiq Senior Staff

Will you please provide me site url and administrator access via hidden content area? Thanks

Deon Holtzhausen Asked this

It is in the hidden message two messages up.

Toufiq Senior Staff

Site URl mising.

Log in to reply.