A few PHP7 Warnings that need cleaning up
During a command line migration I am seeing lots of these warnings on a new installation of Ubuntu 18.04 server: PHP 7.2.3-1ubuntu1 (cli) (built: Mar 14 2018 22:03:58) ( NTS )
PHP Warning: Use of undefined constant strtolower - assumed 'strtolower' (this will throw an Error in a future version of PHP) in /var/www/html/vt71/include/Webservices/ModuleTypes.php on line 18
and especially this one (flatten_array can return null):
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vt71/include/database/PearDatabase.php on line 351