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

CommentFileSizeAuthor
#2 3364916_entity_query_access_check.patch380 bytesashlewis

Comments

ashlewis created an issue. See original summary.

ashlewis’s picture

StatusFileSize
new380 bytes
bramdriesen’s picture

Status: Active » Reviewed & tested by the community

Good catch! Will commit soon :-)

bramdriesen’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.