Entity Query exception on cron

Created on 31 October 2023, about 1 year ago

Problem/Motivation

After cron runs on Drupal 10 with this module installed, the error "Entity queries must explicitly set whether the query should be access checked or not." is generated in the logs.

Proposed resolution

This is caused by the node query in GetTweetsBase::cleanup() not including an accessCheck() in the query. Adding this will resolve the issue and allow the function to run.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom MrDaleSmith

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

Comments & Activities

Production build 0.71.5 2024