Ошибка 500

sizeof(): Parameter must be an array or an object that implements Countable