Warning: Invalid argument supplied for foreach() in /home/u76658/u76658.na4u.ru/www/libs/project/Gaz/Shop/Controller/ShopController.php on line 29

Fatal error: Uncaught exception 'Delorius\Exception\Error' with message 'Cannot set cookie after HTTP headers have been sent (output started at /home/u76658/u76658.na4u.ru/www/libs/project/Gaz/Shop/Controller/ShopController.php:29).' in /home/u76658/u76658.na4u.ru/www/libs/vendor/delorius/Delorius/Http/Response.php:278 Stack trace: #0 /home/u76658/u76658.na4u.ru/www/libs/vendor/delorius/Delorius/Http/Response.php(61): Delorius\Http\Response->checkHeaders() #1 /home/u76658/u76658.na4u.ru/www/libs/vendor/delorius/Delorius/Application/Front.php(187): Delorius\Http\Response->setCode(500) #2 /home/u76658/u76658.na4u.ru/www/libs/vendor/delorius/Delorius/Application/Front.php(101): Delorius\Application\Front->processException(Object(Delorius\Exception\Error)) #3 /home/u76658/u76658.na4u.ru/www/index.php(5): Delorius\Application\Front->run() #4 {main} thrown in /home/u76658/u76658.na4u.ru/www/libs/vendor/delorius/Delorius/Http/Response.php on line 278