Error: Call to a member function isAdmin() on null in Drupal\security_review\Security->rolePermissions()

Created on 18 July 2019, over 5 years ago
Updated 11 January 2024, 11 months ago

When attempting to run the security review by pressing the button at /admin/reports/security-review, this message is returned in the UI:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=172&op=do_nojs&op=do
StatusText: parsererror
ResponseText: Error: Call to a member function isAdmin() on null in Drupal\security_review\Security->rolePermissions() (line 135 of /web/modules/contrib/security_review/src/Security.php).
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dangur

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024