bug #25069 [Debug] Fix undefined variable $lightTrace (nicolas-grekas)
This PR was merged into the 3.4 branch.
Discussion
----------
[Debug] Fix undefined variable $lightTrace
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
As reported in #25066
Commits
-------
21b2343
[Debug] Fix undefined variable $lightTrace
This commit is contained in:
commit
79a64d3bd5
@ -417,6 +417,7 @@ class ErrorHandler
|
||||
$errorAsException = self::$silencedErrorCache[$id][$message];
|
||||
++$errorAsException->count;
|
||||
} else {
|
||||
$lightTrace = array();
|
||||
$errorAsException = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user