I've been experiencing a problem since last night without making any recent changes to the site (no updates).
The site is in J5.2.3 and PHP 8.2.27
The site seems to be working but when I go to the backoffice and go to the articles I get this message:
Code: Select all
count(): Argument #1 ($value) must be of type Countable|array, bool given
I tried reinstalling the Joomla core.
I activated the debug and I get this:
Code: Select all
Call Stack
# Function Location
1 () JROOT/administrator/components/com_content/src/View/Articles/HtmlView.php:119
2 Joomla\Component\Content\Administrator\View\Articles\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_content/src/Controller/DisplayController.php:65
4 Joomla\Component\Content\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
6 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
8 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205
9 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
11 require_once() JROOT/administrator/index.php:32
I don't really know what to do with it so I'm appealing to your knowledge, which is much better than mine!
Thank you!