Drupal 10 entity query error

Created on 9 February 2024, 5 months ago
Updated 22 February 2024, 4 months ago

On Drupal 10 there is fatal error when opening custom token list /admin/structure/token-custom

The website encountered an unexpected error. Please try again later.

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).
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 37)
Drupal\token_custom_plus\TokenCustomPlusListBuilder->getEntityIds() (Line: 88)
Drupal\Core\Entity\EntityListBuilder->load() (Line: 241)

This is due to https://www.drupal.org/node/3201242

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇱🇹Lithuania k-l

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