Missing query access check WSOD

Created on 4 May 2023, over 1 year ago
Updated 23 May 2023, over 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.71.5 2024