QueryException: Entity queries must explicitly set whether the query should be access checked or not

Created on 3 July 2023, over 1 year ago

Drupal 10 throws an exception:

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: 756)
Drupal\commerce_quick_purchase\Plugin\Block\QuickPurchaseAddToCartBlock->getVariationIds() (Line: 621)
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany mkalkbrenner 🇩🇪

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

Comments & Activities

Production build 0.71.5 2024