Exception detected!

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/21/13321421/html/var/www/hamster/projects/KingsSevens/web/index.php:2) in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpFoundation/SessionStorage/NativeSessionStorage.php line 87

500 Internal Server Error - ErrorException

Stack Trace

  1. in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php at line 65  -
    1.         }
    2.         if (error_reporting() & $level && $this->level $level) {
    3.             throw new \ErrorException(sprintf('%s: %s in %s line %d', isset($this->levels[$level]) ? $this->levels[$level] : $level$message$file$line));
    4.         }
    5.         return false;
  2. at ErrorHandler ->handle ('2', 'session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/21/13321421/html/var/www/hamster/projects/KingsSevens/web/index.php:2)', '/home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpFoundation/SessionStorage/NativeSessionStorage.php', '87', array())
    in at line   +
  3. at session_start ()
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpFoundation/SessionStorage/NativeSessionStorage.php at line 87  +
  4. at NativeSessionStorage ->start ()
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpFoundation/Session.php at line 62  +
  5. at Session ->start ()
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/SessionListener.php at line 56  +
  6. at SessionListener ->onKernelRequest (object(GetResponseEvent))
    in at line   +
  7. at call_user_func (array(object(SessionListener), 'onKernelRequest'), object(GetResponseEvent))
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php at line 82  +
  8. at TraceableEventDispatcher ->doDispatch (array(array(object(RouterListener), 'onEarlyKernelRequest'), array(object(SessionListener), 'onKernelRequest'), array(object(Firewall), 'onKernelRequest'), array(object(RouterListener), 'onKernelRequest')), 'kernel.request', object(GetResponseEvent))
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php at line 59  +
  9. at EventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent))
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php at line 101  +
  10. at ContainerAwareEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent))
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 98  +
  11. at HttpKernel ->handleRaw (object(Request), '1')
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 71  +
  12. at HttpKernel ->handle (object(Request), '1', true)
    in /home/content/21/13321421/html/var/www/hamster/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php at line 44  +
  13. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 547  +
  14. at Kernel ->handle (object(Request))
    in /home/content/21/13321421/html/var/www/hamster/projects/KingsSevens/web/index.php at line 12  +

Logs  -