Kunena / Kunena-Addons

Modules and plugins for Kunena 6.0.
https://www.kunena.org
8 stars 22 forks source link

Release of version 6.0.1 for module kunena latest and discuss plugin, error #308

Closed carabao72 closed 1 year ago

carabao72 commented 1 year ago

Hello

I’ve had a mistake since the update this morning.

The site works in joomla 4.2.6 , under php 8.1

0 - count(): Argument #1 ($value) must be of type Countable|array, string given

Call stack
--
# | Function | Location
1 | () | JROOT/components/com_kunena/src/Model/TopicsModel.php:644
2 | count() | JROOT/components/com_kunena/src/Model/TopicsModel.php:644
3 | Kunena\Forum\Site\Model\TopicsModel->populateState() | JROOT/libraries/src/MVC/Model/StateBehaviorTrait.php:59
4 | Joomla\CMS\MVC\Model\BaseModel->getState() | JROOT/libraries/src/MVC/View/AbstractView.php:146
5 | Joomla\CMS\MVC\View\AbstractView->get() | JROOT/libraries/kunena/src/View/KunenaView.php:268
6 | Kunena\Forum\Libraries\View\KunenaView->displayLayout() | JROOT/libraries/kunena/src/Forum/KunenaForum.php:523
7 | Kunena\Forum\Libraries\Forum\KunenaForum::display() | JROOT/modules/mod_kunenalatest/src/ModuleKunenaLatest.php:110
8 | Kunena\Module\KunenaLatest\Site\ModuleKunenaLatest->_display() | JROOT/libraries/kunena/src/Module/KunenaModule.php:111
9 | Kunena\Forum\Libraries\Module\KunenaModule->display() | JROOT/modules/mod_kunenalatest/mod_kunenalatest.php:38
10 | include() | JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
11 | Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() | JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
12 | Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() | JROOT/libraries/src/Helper/ModuleHelper.php:281
13 | Joomla\CMS\Helper\ModuleHelper::renderRawModule() | JROOT/libraries/src/Helper/ModuleHelper.php:161
14 | Joomla\CMS\Helper\ModuleHelper::renderModule() | JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99
15 | Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() | JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50
16 | Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() | JROOT/libraries/src/Document/HtmlDocument.php:556
17 | Joomla\CMS\Document\HtmlDocument->getBuffer() | JROOT/libraries/src/Document/HtmlDocument.php:848
18 | Joomla\CMS\Document\HtmlDocument->_renderTemplate() | JROOT/libraries/src/Document/HtmlDocument.php:633
19 | Joomla\CMS\Document\HtmlDocument->render() | JROOT/libraries/src/Application/CMSApplication.php:1017
20 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/SiteApplication.php:714
21 | Joomla\CMS\Application\SiteApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:299
22 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61
23 | require_once() | JROOT/index.php:32

And, finally, all my best wishes for 2023 and above all good health. And thanks again for all the work done on this superb component that is kunena.

carabao72 commented 1 year ago

I deactivated kunena discuss, the site is KO the "kunena" module, the site is OK

I reactivated the discuss plugin, the site is OK

Is the "kunena" module at fault?

xillibit commented 1 year ago

Hello, best wishes for 2023 too. It's an issue on the Kunena part to have the topics for the categories selected in the settings of the module kunena lastest. I had made some others changes lately in Kunena 6.0.8 developpement version. it needed to wait the release of Kunena 6.0.8

carabao72 commented 1 year ago

Hello

The updates were offered to me by joomla automatically this morning.

carabao72 commented 1 year ago

Release of version 6.0.2, c'est OK, there are no more mistakes. Thank You