Access checking needs to be explicitly set as per https://www.drupal.org/node/3201242

There is an entity query in super_login_user_login_validate() that throws this error:

The website encountered an unexpected error. Please try again later.

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: 154)
super_login_user_login_validate(Array, Object)
call_user_func_array('super_login_user_login_validate', Array) (Line: 82)

Comments

dkosbob created an issue. See original summary.

dkosbob’s picture

StatusFileSize
new470 bytes

Patch attached.

  • 3CWebDev committed b9b9685e on 2.1.x
    Issue #3350713 by dkosbob: Access checking must be explicitly specified...
3cwebdev’s picture

aaronbauman’s picture

Priority: Major » Critical
Status: Needs review » Reviewed & tested by the community

This is WSODing the login page.
Bumping to critical + RTBC

aaronbauman’s picture

Status: Reviewed & tested by the community » Fixed

oh, nvm, i see it's already been committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.