Summary:
PHP Warning in Apache error logs: Parameter must be an array or an object that implements Countable
Detailed Description:
Another anoying warning in the Apache error logs:
[Fri Mar 29 10:42:59.586049 2019] [proxy_fcgi:error] [pid 15811:tid
140234683565824] [client 192.168.2.16:48008] AH01071: Got error 'PHP message:
PHP Warning: count(): Parameter must be an array or an object that implements
Countable in /path/public/modules/LISE/LISE.module.php on line 751\nPHP message:
PHP Warning: count(): Parameter must be an array or an object that implements
Countable in /path/public/modules/LISE/LISE.module.php on line 751\n', referer:
Change:
if( count( func_num_args() ) )
Into:
if(func_num_args() > 0)