discovered this while prepping for M4.3 upgrade. currently, this is issue emits a warning and does not break the UI.
to reproduce - turn on dev mode in the site settings, then go to the "Banner alerts" section in the UCSF theme settings and change the "type" value on any of the ten alerts controls, then save these settings.
in all instances, the issue is the $data argument to the output_html() function. its expected input is either an array, or NULL.
we're currently only processing array input correctly. put some guard rails around NULL input.
discovered this while prepping for M4.3 upgrade. currently, this is issue emits a warning and does not break the UI.
to reproduce - turn on dev mode in the site settings, then go to the "Banner alerts" section in the UCSF theme settings and change the "type" value on any of the ten alerts controls, then save these settings.
in all instances, the issue is the
$data
argument to theoutput_html()
function. its expected input is either an array, or NULL.we're currently only processing array input correctly. put some guard rails around NULL input.