- Issue created by @robcarr
- 🇯🇴Jordan Rajab Natshah Jordan
I am facing the same issue.
Thank you for the fix - Status changed to RTBC
about 2 months ago 11:29am 6 October 2024
WSOD error visiting site audit reports (/admin/reports/site-audit/reports):
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).
Requires access check in site_audit/site_audit_report_entity/src/SiteAuditReportListBuilder.php load():
public function load() {
// Sorting my entities.
$entity_query = \Drupal::entityQuery('site_audit_report')
->sort('created' , 'DESC')
->accessCheck(FALSE);
...
Needs review
4.0
Code
I am facing the same issue.
Thank you for the fix