Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => '/es',
];