Error

PHP Warningyii\base\ErrorException

Invalid argument supplied for foreach()

$_GET = [
    'Brand' => 'Johnson-Controls',
    'Code' => '000602',
    'Sours' => '1C',
    'Name' => 'AKB-gruz-215Ah-EN1150A-3(L)-DIN-C-(518x276x242)--VARTA-ProMotive-Blue--(pr-vo-Johnson-Controls)-15mes',
];

$_SESSION = [
    '__flash' => [],
    'session_id' => '3cbf8a842c518c557597a85f0ce204f7',
    'login' => 0,
    'userId' => -1710823953,
    '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' => [],
];