Issue Bug Closed

#95824Undefined array key in install tool

Mathias Bolt Lesniak 10/30/21, 14:18 updated 10/04/22, 14:17

Description

Two if statements in the install sysext’s UpgradeWizardsService.php are causing undefined array errors in PHP 8.

Line 165 should be: if (!is_array($adds['tables'] ?? false)) {
Line 175 should be: if (!is_array($adds['columns'] ?? false)) {

Line 185 was updated in the same way when fixing #94425.

Reviews 1