Open matias-yii opened 2 years ago
Show Debug Panel
Trying to access array offset on value of type null in vendor/yiisoft/yii2-debug/src/views/default/panels/request/summary.php line 9: $statusCode = $panel->data['statusCode'];
Proposal fix: $statusCode = isset($panel->data['statusCode']) ? $panel->data['statusCode'] : Null;
What steps will reproduce the problem?
What is the expected result?
Show Debug Panel
What do you get instead?
Trying to access array offset on value of type null in vendor/yiisoft/yii2-debug/src/views/default/panels/request/summary.php line 9: $statusCode = $panel->data['statusCode'];
Additional info
Proposal fix: $statusCode = isset($panel->data['statusCode']) ? $panel->data['statusCode'] : Null;