allemand
niveau-debutant1nbs=1
Failed to start the session because headers have already been sent. (500 Internal Server Error)
Exception detected!

Failed to start the session because headers have already been sent.

500 Internal Server Error - RuntimeException

Stack Trace

  1. in kernel.root_dir/cache/prod/classes.php at line 180  -
    1.         }
    2.         if (ini_get('session.use_cookies') && headers_sent()) {
    3.             throw new \RuntimeException('Failed to start the session because headers have already been sent.');
    4.         }
    5.                 if (!session_start()) {
  2. at NativeSessionStorage ->start ()
    in kernel.root_dir/cache/prod/classes.php at line 277  +
  3. at NativeSessionStorage ->getBag ('attributes')
    in kernel.root_dir/cache/prod/classes.php at line 724  +
  4. at Session ->remove ('_security_main')
    in /home/eliteins/elite/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ContextListener.php at line 125  +
  5. at ContextListener ->onKernelResponse (object(FilterResponseEvent))
  6. at call_user_func (array(object(ContextListener), 'onKernelResponse'), object(FilterResponseEvent))
    in /home/eliteins/elite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ContainerAwareTraceableEventDispatcher.php at line 139  +
  7. at ContainerAwareTraceableEventDispatcher ->doDispatch (array(array(object(ContextListener), 'onKernelResponse'), array(object(ResponseListener), 'onKernelResponse'), array(object(CacheListener), 'onKernelResponse'), array(object(ResponseListener), 'onKernelResponse'), array(object(StreamedResponseListener), 'onKernelResponse')), 'kernel.response', object(FilterResponseEvent))
    in kernel.root_dir/cache/prod/classes.php at line 4756  +
  8. at EventDispatcher ->dispatch ('kernel.response', object(FilterResponseEvent))
    in kernel.root_dir/cache/prod/classes.php at line 4974  +
  9. at ContainerAwareEventDispatcher ->dispatch ('kernel.response', object(FilterResponseEvent))
    in /home/eliteins/elite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ContainerAwareTraceableEventDispatcher.php at line 78  +
  10. at ContainerAwareTraceableEventDispatcher ->dispatch ('kernel.response', object(FilterResponseEvent))
    in kernel.root_dir/bootstrap.php.cache at line 1454  +
  11. at HttpKernel ->filterResponse (object(Response), object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 1446  +
  12. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 1390  +
  13. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 1566  +
  14. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 617  +
  15. at Kernel ->handle (object(Request))
    in /home/eliteins/elite/web/app.php at line 26  +

Logs  -