Fatal error when using the "Enqueue Content" button in Drupal 10

Created on 13 June 2023, over 1 year ago
Updated 17 October 2023, about 1 year ago

Problem/Motivation

I installed this module on a Drupal 10 site with existing component content, which had previously been used successfully with the older Lift modules. When I went to the export tab and clicked "Enqueue Content" I got a fatal error:

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(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 141 of /mnt/www/html/exelonrfpc7pyprpyav/docroot/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

Proposed resolution

Explicitly declare that the access check should be used.

๐Ÿ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada mandclu

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

Comments & Activities

Production build 0.71.5 2024