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

Created on 9 November 2023, 8 months ago
Updated 3 April 2024, 3 months ago

Problem/Motivation

After updating to the 2.1 version released today, I get the following error when loading the available updates page of Drupal:

RuntimeException: Failed to start the session because headers have already been sent by "/opt/drupal/web/modules/contrib/bat/modules/bat_event/bat_event.module" at line 1. 

Steps to reproduce

update module to 'drupal/bat:2.1'. Open the /admin/reports/updates page in Drupal. See error

Proposed resolution

bat/modules/bat_event/bat_event.module contains whitespace before the <?php tag. Removing this fixes the error. Will post patch soon.

🐛 Bug report
Status

Closed: outdated

Version

2.1

Component

Code

Created by

🇫🇮Finland jwwj

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

Comments & Activities

Production build 0.69.0 2024