Error

PHP Warningyii\base\ErrorException

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