Error on "Add Translation": Entity queries must explicitly set whether the query should be access checked or not

Created on 10 December 2023, 7 months ago
Updated 14 January 2024, 5 months ago

Problem/Motivation

Installed the module via `composer` then enabled via UI (Extend). When I tried to add translations for certain content type, I got this 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 core\lib\Drupal\Core\Entity\Query\Sql\Query.php).

Steps to reproduce

Proposed resolution

Apparently the module " does not call accessCheck() on the query object, which is now mandatory 💬 Entity queries must explicitly set whether the query should be access checked or not. Fixed ".

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024