Drupal 10 + Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not.

Created on 14 August 2023, over 1 year ago

Problem/Motivation

Error on /admin/group page:
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not.

Steps to reproduce

  1. Install Group module using composer and visit /admin/group page.

Proposed resolution

As given on https://www.drupal.org/node/3201242 page, use accessCheck()

🐛 Bug report
Status

Closed: duplicate

Version

1.5

Component

Code

Created by

🇮🇳India Shashwat Purav Mumbai

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

Comments & Activities

Production build 0.71.5 2024