Typed property Symfony\Bridge\Monolog\Handler\ChromePhpHandler::$response must not be accessed before initialization · Issue #44513 · symfony/symfony · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected
6.0.0
Description
I'm in the process of upgrading to Symfony v6. When I want to access any page (from Chrome), I get this:
Surely this is caused by some underlying error, but I can't see that one because the ChromePhpHandler fails.
How to reproduce
Can't say, presumably just run any app with the latest version, including ErrorHandler and ChromePhpHandler?
sendHeader()
is called already when theRouteListener
wants to log its "Matched route ..." information. But I guess that's normal.Possible Solution
It's probably caused by 39fb557. Typed properties don't coerce to
false
in anif
statement, so this line now needs updating.@derrabus
Additional Context
No response
The text was updated successfully, but these errors were encountered: