Fatal error upgrading to 1.6.0

Created on 26 March 2025, 14 days ago

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.

🐛 Bug report
Status

Active

Version

1.6

Component

Code

Created by

🇪🇸Spain omarlopesino

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024