Skip to content

Instantly share code, notes, and snippets.

@MaskyS
Created November 3, 2018 09:48
Show Gist options
  • Save MaskyS/d0703e82bfe8933cc2c1f4a99f049ef7 to your computer and use it in GitHub Desktop.
Save MaskyS/d0703e82bfe8933cc2c1f4a99f049ef7 to your computer and use it in GitHub Desktop.
Http headers are being sent twice.
The website encountered an unexpected error. Please try again later.
RuntimeException: Failed to start the session because headers have already been sent by "/var/www/html/vendor/symfony/http-foundation/Response.php" at line 1284. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 141 of vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).
Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (Line: 164)
Drupal\Core\Session\SessionManager->startNow() (Line: 118)
Drupal\Core\Session\SessionManager->start() (Line: 57)
Symfony\Component\HttpFoundation\Session\Session->start() (Line: 240)
Drupal\big_pipe\Render\BigPipe->performPreSendTasks() (Line: 295)
Drupal\big_pipe\Render\BigPipe->sendContent(Object) (Line: 112)
Drupal\big_pipe\Render\BigPipeResponse->sendContent() (Line: 373)
Symfony\Component\HttpFoundation\Response->send() (Line: 20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment