[Mapguide-trac] [mapguide-trac] #2884: OutputSettingsJsArray in resizablepagecomponents.php fails if given null settings

MapGuide Open Source trac_mapguide at osgeo.org
Tue Sep 17 03:09:54 PDT 2024


#2884: OutputSettingsJsArray in resizablepagecomponents.php fails if given null
settings
-------------------------+----------------------
   Reporter:  jng        |      Owner:  jng
       Type:  defect     |     Status:  assigned
   Priority:  low        |  Milestone:  4.0
  Component:  Map Admin  |    Version:
   Severity:  trivial    |   Keywords:
External ID:             |
-------------------------+----------------------
 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.
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2884>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list