Skip to content

Kunena Latest must be adjusted for K7.0 #9930

@rich20

Description

@rich20

Describe the bug
If you perform an upgrade with Kunena Latest installed, you will receive this error in the frontend if the module output is “Latest Topic.”

If difficulties persist, please contact the website administrator and report the error below.

0 Joomla\CMS\Event\Content\ContentPrepareEvent::onSetSubject(): Argument #1 ($value) must be of type object, array given, called in .../libraries/src/Event/AbstractEvent.php on line 227

Call Stack

** Function Location**
1 () JROOT/libraries/src/Event/Content/ContentPrepareEvent.php:46
2 Joomla\CMS\Event\Content\ContentPrepareEvent->onSetSubject() JROOT/libraries/src/Event/AbstractEvent.php:227
3 Joomla\CMS\Event\AbstractEvent->setArgument() JROOT/libraries/src/Event/AbstractEvent.php:115
4 Joomla\CMS\Event\AbstractEvent->__construct() JROOT/libraries/src/Event/AbstractImmutableEvent.php:51
5 Joomla\CMS\Event\AbstractImmutableEvent->__construct() JROOT/libraries/src/Event/Content/ContentEvent.php:55
6 Joomla\CMS\Event\Content\ContentEvent->__construct() JROOT/components/com_kunena/src/View/Topics/HtmlView.php:344
7 Kunena\Forum\Site\View\Topics\HtmlView->displayTopicRows() JROOT/components/com_kunena/src/View/Topics/HtmlView.php:244
8 Kunena\Forum\Site\View\Topics\HtmlView->displayRows() JROOT/modules/mod_kunenalatest/tmpl/default.php:25
9 include() JROOT/libraries/kunena/src/View/KunenaView.php:592
10 Kunena\Forum\Libraries\View\KunenaView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
11 Joomla\CMS\MVC\View\HtmlView->display() JROOT/libraries/kunena/src/View/KunenaView.php:499
12 Kunena\Forum\Libraries\View\KunenaView->render() JROOT/components/com_kunena/src/View/Topics/HtmlView.php:150
13 Kunena\Forum\Site\View\Topics\HtmlView->displayDefault() JROOT/libraries/kunena/src/View/KunenaView.php:271
14 Kunena\Forum\Libraries\View\KunenaView->displayLayout() JROOT/libraries/kunena/src/Forum/KunenaForum.php:526
15 Kunena\Forum\Libraries\Forum\KunenaForum::display() JROOT/modules/mod_kunenalatest/src/ModuleKunenaLatest.php:109
16 Kunena\Module\KunenaLatest\Site\ModuleKunenaLatest->_display() JROOT/libraries/kunena/src/Module/KunenaModule.php:113
17 Kunena\Forum\Libraries\Module\KunenaModule->display() JROOT/modules/mod_kunenalatest/mod_kunenalatest.php:38
18 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
19 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
20 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:289
21 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:160
22 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99
23 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:681
24 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:112
25 require() JROOT/libraries/src/Document/HtmlDocument.php:731
26 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:785
27 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:622
28 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1104
29 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:745
30 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:309
31 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
32 require_once() JROOT/index.php:32

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions