Warning (2): count(): Parameter must be an array or an object that implements Countable [CORE/cake/libs/configure.php, line 1122]

Fatal error: Cannot declare class CakeObject, because the name is already in use in /var/www/vhosts/cake1/cake/libs/object.php on line 36