This is using phpnuget 4.0.0.2 with PHP 7.2 on Ubuntu 18.04. I see this message in my apache error log:
[Thu May 10 15:08:07.506988 2018] [php7:warn] [pid 17061] [client 172.22.22.100:53152] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/phpnuget/inc/commons/objectsearch.php on line 159, referer: http://chocolatey.int.celadonsystems.com/?specialType=logon
The same phpnuget version with PHP 7.0 on Ubuntu 16.04 does not throw the same error.
This is using phpnuget 4.0.0.2 with PHP 7.2 on Ubuntu 18.04. I see this message in my apache error log:
The same phpnuget version with PHP 7.0 on Ubuntu 16.04 does not throw the same error.