accessCheck is needed

Created on 19 February 2024, about 1 year ago

Problem/Motivation

I was enabling a module that was dependent on commerce_license.

[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(). Please check module with base_table commerce_license in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 145 of d10.2.x/html/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

this was the issue:
#3 1d0.2.x/html/modules/contrib/commerce_license/src/LicenseStorage.php(84): Drupal\Core\Entity\Query\Sql\Query->execute()

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

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

Comments & Activities

Production build 0.71.5 2024