Problem/Motivation
After install, and before running the first test, on the /admin/reports/security-review page, if you click on one of the "details" links, an exception is thrown.
TypeError: Drupal\security_review\Plugin\SecurityCheck\ErrorReporting::getDetails(): Argument #2 ($hushed) must be of type array, null given, called in /var/www/html/web/modules/contrib/security_review/src/Controller/HelpController.php on line 207 in Drupal\security_review\Plugin\SecurityCheck\ErrorReporting->getDetails() (line 75 of modules/contrib/security_review/src/Plugin/SecurityCheck/ErrorReporting.php).
Steps to reproduce
- Install module.
- Do not run a check.
- Go to /admin/reports/security-review and click on one of the "details".
- An exception is thrown.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork security_review-3559343
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
Comment #4
smustgrave commentedAlso determine the help routes were using title and that didn't seem right.
Comment #5
smustgrave commentedComment #7
smustgrave commentedFixed.