Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()

$_GET = [
    'id' => '510297',
];