[error] Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not.

Created on 5 June 2023, about 1 year ago
Updated 6 June 2023, about 1 year ago

Problem/Motivation

Running cron on Drupal 10 throws php error:
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not.

Steps to reproduce

  1. Install Status Dashboard 2.0.x-dev module on site running Drupal 10 core
  2. Run cron
  3. View Recent log messages

Proposed resolution

add access check to entity query in Collector.php

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom ashlewis

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

Comments & Activities

Production build 0.69.0 2024