EntityQuery access check will be enforced in Drupal 10

Created on 18 April 2023, over 1 year ago

Problem/Motivation

When I create a project on a brand new install I get the following:

"The website encountered an unexpected error. Please try again later."

This could be due to:
EntityQuery access check will be enforced in Drupal 10
See https://www.drupal.org/node/3201242

Steps to reproduce

Add a project and click save
/burndown/project/add/project

The error message

Location 	http://ecoproject/burndown/project/add/project
Referrer 	http://ecoproject/burndown/project/add/project

Message 	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 drupal\core\lib\Drupal\Core\Entity\Query\Sql\Query.php).

My Setup

Drupal 10.0.7
Burndown 1.0.25
PHP 8.1.0

🐛 Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

🇿🇦South Africa vlooi vlerke

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

Comments & Activities

Production build 0.71.5 2024