Call to a member function id() on null in line 24 of modules/contrib/flag_lists/src/Access/FlaggingCollectionAccessControlHandler.php

Created on 24 February 2022, over 2 years ago
Updated 17 May 2023, about 1 year ago

Problem/Motivation

I updated my Drupal to 9.3.6 from 9.1.8. In that process I updated the Flag and Flag Lists.

My previous version of Flag List was 4.0.0.-rc1. After the update, it's now Flag 4.0.0-rc2

Steps to reproduce

When you go to home page and click on the My flagging Collection main menu (/flagging_collection), it shows following error:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function id() on null in Drupal\flag_lists\Access\FlaggingCollectionAccessControlHandler->checkAccess() (line 24 of modules/contrib/flag_lists/src/Access/FlaggingCollectionAccessControlHandler.php).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States npcoder

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