Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel][FrameworkBundle] fix compat with Debug component#36342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fabpot commentedApr 5, 2020
Thank you@nicolas-grekas. |
| { | ||
| ErrorHandler::register(null,false)->throwAt($this->container->getParameter('debug.error_handler.throw_at'),true); | ||
| if (class_exists(LegacyErrorHandler::class,false)) { | ||
| LegacyErrorHandler::register(null,false)->throwAt($this->container->getParameter('debug.error_handler.throw_at'),true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
doesn't this mean that the legacy one wins when both component are installed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
nope, because of the 2nd argument:$replace = false
Fixes the issue as described by@stof in#36009