Missing query access check WSOD

Created on 4 May 2023, about 1 year ago
Updated 23 May 2023, about 1 year ago

Problem/Motivation

On Drupal 10, missing access checks on database queries using ->getQuery() provoke WSOD with the following message:

Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().

Queries without access check were seemingly deprecated on 9.2 β†’ and removed from 10.x

πŸ› Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain idiaz.roncero Madrid

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

Comments & Activities

Production build 0.69.0 2024