diff --git a/collectors/php_errors.php b/collectors/php_errors.php index 80631f04..b938cda0 100644 --- a/collectors/php_errors.php +++ b/collectors/php_errors.php @@ -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 );