Drupal 10 Entity Query error

Created on 27 July 2023, over 1 year ago
Updated 13 September 2024, 3 months ago

Problem/Motivation

Got next error on D10 when trying to add new popup block

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()

Steps to reproduce

Enable module and go to /admin/config/media/simple-popup-blocks/add

Proposed resolution

Add accessCheck() where entity query is used.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia sorlov

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

Comments & Activities

Production build 0.71.5 2024