Skip to content
Open
5 changes: 5 additions & 0 deletions collectors/php_errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,11 @@ protected function output_fatal( $error, array $e ) {
continue;
}

$frame = wp_parse_args( $frame, array(
'file' => '',
'line' => '',
) );

$args = array_map( function( $value ) {
$type = gettype( $value );

Expand Down