D10 Entity queries must explicitly set whether the query should be access checked or not

Created on 27 October 2023, 8 months ago
Updated 31 October 2023, 8 months ago

Problem/Motivation

I applied a patch to make this module compatible with D10, however I got an error when checking the module with upgrade-status module for D10 upgrade

RequestSubscriberCheckLimits.php on line 129

Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

πŸ› Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil fkatsukawa SΓ£o Paulo, πŸ‡§πŸ‡·

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

Comments & Activities

Production build 0.69.0 2024