View Issue Details

IDProjectCategoryView StatusLast Update
0000553WackoWikicorepublic2019-12-14 13:24
Reporteradministrator Assigned Toadministrator  
Status assignedResolutionopen 
Product Version5.5.16 
Target Version6.0.x 
Summary0000553: PHP Notice: Trying to access array offset on value of type null
DescriptionPHP 7.4 introduces a "Trying to access array offset on value of type ..." warning for accessing null/bool/int/float/resource as if it were an array.

Previously PHP already threw a warning when you would attempt to use an offset that is of an invalid type. Now PHP will also throw a warning when a container is of an invalid type.

type checking:


$variable = $array['value'] ?? null;

if($array !== false)

if (isset($array['value']['type']) && 'file' === $array['value']['type'])
Additional Information
TagsPHP 7.4

Issue History

Date Modified Username Field Change
2019-12-12 12:08 administrator New Issue
2019-12-12 12:08 administrator Status new => assigned
2019-12-12 12:08 administrator Assigned To => administrator
2019-12-12 12:08 administrator Tag Attached: PHP 7.4
2019-12-12 12:19 administrator Description Updated View Revisions
2019-12-14 13:24 administrator Note Added: 0001079