[PHP 7.2] sizeof(): Parameter must be an array or an object that implements Countable