Problem/Motivation
After upgrading to 1.6.0, when I clear caches or I install the site from configuration, I get this error:
Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /var/www/html/web/modules/contrib/xray_audit/src/Services/PluginRepository.php:310
Proposed resolution
There is a logical error in this condition that makes it don't return when `operations` key is empty. Fixing this condition solves the issue.
Issue fork xray_audit-3515444
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 #2
omarlopesinoComment #4
omarlopesinoComment #5
omarlopesinoThe MR fixes the problem. it just fixes the parenthesis so each empty call is separated. Please review, thanks!
Comment #7
omarlopesinoThis has already been released, thanks!