"An anonymous user must be identified by session ID" crash on Drupal 10

Created on 20 September 2023, 9 months ago
Updated 6 March 2024, 3 months ago

Problem/Motivation

The following exception is thrown on Drupal 10 because the deprecated code was removed.

It seems this change record β†’ introduced in Drupal 9.2.0 broke the previous #2928789: Causes fatal exception with flag module β†’ solution, and $sid = $session->getId(); still returns an empty string.

Proposed resolution

Update flag session id generation logic.

Remaining tasks

Provide issue fork/patch.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024