Search
Other Add to Menu questions
Forum

Warning: count(): Parameter must be an array or an object that implements Countable

Nicholas Yang's Avatar Nicholas Yang
Possibly related to updates in PHP. I have Global Configuration > Server > Server Settings set to "Development".

On the Users > Manage page, at the bottom I see:
Warning: count(): Parameter must be an array or an object that implements Countable in /.../administrator/modules/mod_addtomenu/helper.php on line 124

My PHP Version: 7.2.10
Peter van Westen's Avatar Peter van Westen ADMIN
I cannot reproduce the issue.
The count is done on the value of a radio field type, which should be of the type array.
So if that is not the case, something else seems to be wrong that is causing this...

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Hidden text' button in the forum editor to hide the confidential information.
Please post a rating at the Joomla! Extensions Directory
Nicholas Yang's Avatar Nicholas Yang
Sure thing. I setup a new install to make sure nothing else in my setup was affecting it. PHP 7.1 vs 7.2 does seem to make a difference.

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Nicholas Yang's Avatar Nicholas Yang
Looks good, thank you!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription