From 21b23431ba720e2394831811fc8a1f4580d76ab0 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 21 Nov 2017 10:01:46 +0100 Subject: [PATCH] [Debug] Fix undefined variable $lightTrace --- src/Symfony/Component/Debug/ErrorHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index a71aae3eff..61a25e1123 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -417,6 +417,7 @@ class ErrorHandler $errorAsException = self::$silencedErrorCache[$id][$message]; ++$errorAsException->count; } else { + $lightTrace = array(); $errorAsException = null; }