RuntimeException: Failed to start the session because…

Created on 2 February 2024, 5 months ago
Updated 25 February 2024, 4 months ago

On Drupal 10.2.2 after updating to 2.0.0 when trying to login, get taken to Access Denied page, with this error logged below. Goes away when unchecking Active within the module.

RuntimeException: Failed to start the session because headers have already been sent by "/home/user/web/website.com/public_html/vendor/symfony/http-foundation/Response.php" at line 433. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of /home/user/web/website.com/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php)

#0 /home/user/web/website.com/public_html/web/core/lib/Drupal/Core/Session/SessionManager.php(144): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#1 /home/user/web/website.com/public_html/web/core/lib/Drupal/Core/Session/SessionManager.php(109): Drupal\Core\Session\SessionManager->startNow()
#2 /home/user/web/website.com/public_html/vendor/symfony/http-foundation/Session/Session.php(59): Drupal\Core\Session\SessionManager->start()
#3 /home/user/web/website.com/public_html/web/core/modules/big_pipe/src/Render/BigPipe.php(240): Symfony\Component\HttpFoundation\Session\Session->start()
#4 /home/user/web/website.com/public_html/web/core/modules/big_pipe/src/Render/BigPipe.php(295): Drupal\big_pipe\Render\BigPipe->performPreSendTasks()
#5 /home/user/web/website.com/public_html/web/core/modules/big_pipe/src/Render/BigPipeResponse.php(112): Drupal\big_pipe\Render\BigPipe->sendContent()
#6 /home/user/web/website.com/public_html/vendor/symfony/http-foundation/Response.php(425): Drupal\big_pipe\Render\BigPipeResponse->sendContent()
#7 /home/user/web/website.com/public_html/web/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#8 {main}

.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΉπŸ‡­Thailand peterbkk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024