Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()

$_GET = [
    'Brand' => 'Avto-Prestij',
    'Code' => '373494',
    'Sours' => '1C',
    'Name' => 'Radiator-otopitelya-Gazel,Sobol-(alyum.)-so-spiralyu-(turbulizator)-salonnyy-(dlya-3221-8110010)-(pr-vo-Avto-Prestij)',
];

$_SESSION = [
    '__flash' => [],
    'session_id' => '62a7b606c574ffaae26c1e1fc0bb2c22',
    'login' => 0,
    'userId' => -1711696888,
    'show_name_strg' => 'n',
    'show_orig_price' => 'n',
    'clients' => 'n',
    'client_id' => '0',
    'role' => 'unreg',
    'liqpay' => 'N',
    'userCode' => '',
    'userName' => '',
    'email' => '',
    'phone' => '',
    'basket' => [],
    'order_par' => [],
    'balance_par' => [],
    'basketCount' => 0,
    'basketCost' => 0,
    'basketComment' => '',
    'sort' => '0',
    'resultSearchList' => '1',
    'countNeudSpros' => 0,
    'HideArticles' => 0,
    'destForAddGoods' => [
        'type' => 'basket',
    ],
    'Contract' => [],
    'selLang' => 'ru-RU',
    'alarmTime' => [],
];