Question
Call to undefined method stdClass::toArray() or 404
Less
More
Posts: 15
Thank you received: 0
7 years 7 months ago #1
by yodam
Hi,
I'm trying to link my main menu to kunena Home page (index.php?option=com_kunena&view=home&defaultmenu=140)
For unregistered users (really PUBLIC USERS) works but for registered I have a page with:
Call to undefined method stdClass::toArray()
Thanks!!
Please Log in or Create an account to join the conversation.
Less
More
Posts: 7329
Thank you received: 1425
7 years 7 months ago #2
by 810
Could you see on the error logs, on which file and line is.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 15
Thank you received: 0
7 years 6 months ago - 7 years 6 months ago #3
by yodam
I've activated logging/debug system of Joomla.
->When I see main forum page (is it your plugin?!?):
Notice: Undefined property: stdClass::$id in /web/htdocs/www.mysite.com/home/plugins/system/gantry/gantry.php on line 234
-> When I open forum from a registered user:
Call to undefined method stdClass::toArray()
/web/htdocs/www.mysite.com/home/plugins/content/arkcontent/arkcontent.php:130
# Function Location
1 () JROOT/plugins/content/arkcontent/arkcontent.php:130
2 PlgContentArkContent->onContentPrepare() JROOT/libraries/joomla/event/event.php:70
3 JEvent->update() JROOT/libraries/joomla/event/dispatcher.php:160
4 JEventDispatcher->trigger() JROOT/libraries/src/Application/BaseApplication.php:108
5 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT/components/com_kunena/kunena.php:137
6 require_once() JROOT/libraries/src/Component/ComponentHelper.php:382
7 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357
8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
9 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
10 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:195
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
I uninstalled ark editor and now the forum works. I don't know if it's a ark editor bug or a kunena bug
Thanks!
Last edit: 7 years 6 months ago by
yodam .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 7329
Thank you received: 1425
7 years 6 months ago #4
by 810
Ok so the error is on plugins/content/arkcontent plugin.
Please update or contact the developers from that plugin.
Please Log in or Create an account to join the conversation.