View Issue Details

IDProjectCategoryView StatusLast Update
0027800mantisbtbugtrackerpublic2020-12-30 05:41
Reporterdregad Assigned Todregad  
Status resolvedResolutionfixed 
Target Version2.25.0Fixed in Version2.25.0 
Summary0027800: install.php throws SYSTEM WARNINGs

When processing null schema steps (e.g. 184, 196, 197, 199), the installer throws the following error at lines 1006 and 1008.

SYSTEM WARNING: 'Trying to access array offset on value of type null' in '/path/to/mantisbt/admin/install.php'

TagsNo tags attached.


Related Changesets

MantisBT: master a2628c71

2020-12-24 10:28:57


Details Diff
Properly deal with "no-op" (null) upgrade steps

The current code throws SYSTEM WARNINGs when processing them, as it
tries to dereference the schema step as an array while its value is
actually null.

Fixes 0027800
Affected Issues
mod - admin/install.php Diff File