Warning: Declaration of ActiveRecord\DateTime::setTime($hour, $minute, $second = NULL) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL) in /home/magaiver/public_html/vendor/php-activerecord/php-activerecord/lib/DateTime.php on line 0
Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: session_start(): Cannot start session when headers already sent
File: /home/magaiver/public_html/app/classes/session.php
Line: 9

Trace

#0 [internal function]: Slim\Slim::handleErrors(2, 'session_start()...', '/home/magaiver/...', 9, Array)
#1 /home/magaiver/public_html/app/classes/session.php(9): session_start()
#2 /home/magaiver/public_html/app/views/admin/includes/header.php(2): app\classes\session::sessionStart()
#3 /home/magaiver/public_html/app/views/admin/layout.php(1): require('/home/magaiver/...')
#4 /home/magaiver/public_html/vendor/slim/slim/Slim/View.php(278): require('/home/magaiver/...')
#5 /home/magaiver/public_html/vendor/slim/slim/Slim/View.php(255): Slim\View->render('admin/layout.ph...', Array)
#6 /home/magaiver/public_html/vendor/slim/slim/Slim/View.php(243): Slim\View->fetch('admin/layout.ph...', NULL)
#7 /home/magaiver/public_html/vendor/slim/slim/Slim/Slim.php(753): Slim\View->display('admin/layout.ph...')
#8 /home/magaiver/public_html/app/routes/home.php(13): Slim\Slim->render('admin/layout.ph...', Array)
#9 [internal function]: {closure}()
#10 /home/magaiver/public_html/vendor/slim/slim/Slim/Route.php(454): call_user_func_array(Object(Closure), Array)
#11 /home/magaiver/public_html/vendor/slim/slim/Slim/Slim.php(1316): Slim\Route->dispatch()
#12 /home/magaiver/public_html/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#13 /home/magaiver/public_html/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#14 /home/magaiver/public_html/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#15 /home/magaiver/public_html/vendor/slim/slim/Slim/Slim.php(1263): Slim\Middleware\PrettyExceptions->call()
#16 /home/magaiver/public_html/index.php(4): Slim\Slim->run()
#17 {main}