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

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php:21) in /www/htdocs/w0138b9d/helena2.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: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/categories.inc.php:21)
File: /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/session.inc.php
Line: 38

Trace

#0 [internal function]: Slim\Slim::handleErrors(2, 'Cannot modify h...', '/www/htdocs/w01...', 38, Array)
#1 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/session.inc.php(38): setcookie('helena_session', '1732920572zkGkP...')
#2 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/sleekcommerce/sleekshop-phpsdk-json/session.inc.php(22): SessionCtl::SetSession('1732920572zkGkP...')
#3 /www/htdocs/w0138b9d/helena2.sleekshop.io/public/index.php(1279): SessionCtl::GetSession()
#4 [internal function]: {closure}('login')
#5 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#6 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()
#7 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#8 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#9 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#10 /www/htdocs/w0138b9d/helena2.sleekshop.io/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()
#11 /www/htdocs/w0138b9d/helena2.sleekshop.io/public/index.php(1522): Slim\Slim->run()
#12 {main}