Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()