Exception detected!

Failed to start the session because headers have already been sent by "/home/aravisin/www/sites-dev/mvmz/web/app.php" at line 1.

500 Internal Server Error - RuntimeException

Stack Trace

  1. in var/cache/prod/classes.php at line 110  -
    1. throw new \RuntimeException('Failed to start the session: already started by PHP.');
    2. }
    3. if (ini_get('session.use_cookies') && headers_sent($file, $line)) {
    4. throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
    5. }
    6. if (''== session_id() && !session_start()) {
    7. throw new \RuntimeException('Failed to start the session');
  2. at NativeSessionStorage ->start ()
    in var/cache/prod/classes.php at line 178  +
  3. at NativeSessionStorage ->getBag ('attributes')
    in var/cache/prod/classes.php at line 445  +
  4. at Session ->set ('frontUrl', '736974656d61702e786d6c')
    in src/SFCMS/FrontBundle/Controller/PageController.php at line 24  +
  5. at PageController ->indexAction (object(Request), 'sitemap.xml', null, null)
  6. at call_user_func_array (array(object(PageController), 'indexAction'), array(object(Request), 'sitemap.xml', null, null))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 153  +
  7. at HttpKernel ->handleRaw (object(Request), '1')
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 68  +
  8. at HttpKernel ->handle (object(Request), '1', true)
    in var/bootstrap.php.cache at line 1443  +
  9. at Kernel ->handle (object(Request))
    in web/app.php at line 50  +

Logs  -

Stack Trace (Plain Text)  +