Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21b2343

Browse files
[Debug] Fix undefined variable $lightTrace
1 parent b40c84d commit 21b2343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ public function handleError($type, $message, $file, $line)
417417
$errorAsException = self::$silencedErrorCache[$id][$message];
418418
++$errorAsException->count;
419419
} else {
420+
$lightTrace = array();
420421
$errorAsException = null;
421422
}
422423

0 commit comments

Comments
 (0)