Problem/Motivation

As per latest report of Update Status module:

FILE: modules/contrib/recaptcha_v3/src/Form/ReCaptchaV3ActionDeleteForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 19 Relying on entity queries to check access by default is
deprecated in drupal:9.2.0 and an error will be thrown from
drupal:10.0.0. Call
\Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
TRUE or FALSE to specify whether access should be checked.
--------------------------------------------------------------------------------

Proposed resolution

add defensive accessCheck(FALSE)

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sfuchsbe created an issue. See original summary.

dench0’s picture

Status: Active » Closed (duplicate)
Related issues: +#3352732: Resolve access check errors for D10 compatibility