- Issue created by @k-l
- First commit to issue fork.
- Status changed to Needs review
9 months ago 2:11pm 22 February 2024
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 →
Needs review
2.0
Code