Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()

$_GET = [
    'id' => '58',
    'pid' => '6',
];