Error on use after initial installation, count(): Argument #1 ($value) must be of type Countable|array, bool given

OSPAORG
OSPAORG
  • OSPAORG
  • 2 months ago

I have just installed Community Surveys (5.9.6) and CjLib (license key activated). When trying to hit the Community Surveys component in backend (Dashboard, Surveys), I get this error:

0 count(): Argument #1 ($value) must be of type Countable|array, bool given
/home/xxxxx/public_html/administrator/components/com_communitysurveys/models/surveys.php:363

This is the code at php line 363:

for ($x = 0, $count = count($items); $x < $count; $x++)

Please advise.

Joomla version: 3.10.11
PHP Version: 8.1.16


Access to viewing replies is restricted.
Showing 10 of 10 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai