×
Kunena 5.1 Released (13 May 2018)

The Kunena team is pleased to announce Kunena 5.1.0 [K 5.1.0].
Please read the blog post for information: www.kunena.org/blog/192-kunena-5-1-released

Question Call to undefined method stdClass::toArray() or 404

More
1 week 16 hours 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.

More
1 week 15 hours 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.

More
1 week 42 minutes ago - 1 week 13 minutes 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: 1 week 13 minutes ago by yodam.

Please Log in or Create an account to join the conversation.

More
1 week 10 minutes 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.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.097 seconds