QueryInterface::accessCheck is required on Drupal 10

Created on 20 July 2023, over 1 year ago

Problem/Motivation

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.

See https://www.drupal.org/node/3201242

Proposed resolution

Add accessCheck(FALSE) for entityQuery in src/Controller/TagcloudsPageChunk.php::chunk()

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇭🇺Hungary szato

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

Comments & Activities

Production build 0.71.5 2024