Opened 3 months ago

Closed 3 months ago

#2884 closed defect (fixed)

OutputSettingsJsArray in resizablepagecomponents.php fails if given null settings

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: Map Admin Version:
Severity: trivial Keywords:
Cc: External ID:

Description

The upgrade to PHP 8.1 must've increased the strictness on count() to no longer allow passing in null references.

The OutputSettingsJsArray function in mapadmin/resizablepagecomponents.php is currently failing because of this assumption and derails Site Administrator functionality such as the performance report.

Change History (1)

comment:1 by jng, 3 months ago

Resolution: fixed
Status: assignedclosed

In 10109:

Fix OutputSettingsJsArray in resizablepagecomponents.php to work in the PHP 8.1 world

Fixes #2884

Note: See TracTickets for help on using tickets.