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

Created on 3 July 2023, almost 2 years ago

Problem/Motivation

After a fresh install of Event Platform on Drupal 10, accessing the scheduler interface generates the following fatal error:
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 141 of /var/www/html/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

Proposed resolution

Explicitly set the access check on entity queries.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024