RuntimeException: Failed to start the session because headers have already been sent

Created on 18 December 2021, over 2 years ago
Updated 25 July 2023, 11 months ago

Hi,
There is no way you can login into your site on Drupal 9.2 and above.
It is somehow related to "session generation".
https://www.drupal.org/project/drupal/releases/9.2.0

Here is longer log:
RuntimeException: Failed to start the session because headers have already been sent by "/[...]/vendor/symfony/http-foundation/Response.php" at line 1239. w Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 152 w /[...]/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php)

If I uninstall module everything works perfectly.

🐛 Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

🇵🇱Poland szymmszy Warsaw

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024