Warning: Invalid argument supplied for foreach() in /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php:20) in /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/session.inc.php on line 38
Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: Invalid argument supplied for foreach()
File: /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php
Line: 20

Trace

#0 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php(20): Slim\Slim::handleErrors(2, 'Invalid argumen...', '/www/htdocs/w01...', 20, Array)
#1 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php(43): CategoriesCtl::GetCategories(2, 'de_DE')
#2 /www/htdocs/w0138b9d/food.sleekshop.io/public/index.php(137): CategoriesCtl::GetMenu('de_DE')
#3 [internal function]: {closure}()
#4 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#5 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()
#6 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#7 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#8 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#9 /www/htdocs/w0138b9d/food.sleekshop.io/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()
#10 /www/htdocs/w0138b9d/food.sleekshop.io/public/index.php(638): Slim\Slim->run()
#11 {main}