Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295300

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

$
0
0

Problem/Motivation

Upgraded the site from Drupal 9.5 to 10.1, using PHP 8.1.18.

Steps to reproduce

Upgrade the site from 9.5 to 10.1. Admin pages are loading fine after the upgrade. But the front end pages of the site are throwing 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 /app/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php)"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>