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
Symfony version(s) affected: 4.4
The problem started after updating SF4.3 to 4.4 but I'm not really sure why earlier versions would not be affected. I am running php 7.3.11.
Description
When using the ChromePHPHandler the following error may occur:
Notice: Accessing static property Symfony\Bridge\Monolog\Handler\ChromePhpHandler::$sendHeaders as non static in ChromePhpHandler.php line 62
To replicate add the following to the monolog configuration:
I think we can replace the $this->sendHeaders on lines 44 and 62 with self::$sendHeaders without any problem since the sendHeaders property is static in both version 1.25.1 and 2.x of monolog.
PR is on its way.
The text was updated successfully, but these errors were encountered:
…atic. (Sander-Toonen)
This PR was submitted for the 4.4 branch but it was merged into the 3.4 branch instead (closes#34533).
Discussion
----------
[Monolog Bridge] Fixed accessing static property as non static.
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#34505
| License | MIT
| Doc PR | N/A
Commits
-------
aa045d1 [Monolog Bridge] Fixed accessing static property as non static.
Symfony version(s) affected: 4.4
The problem started after updating SF4.3 to 4.4 but I'm not really sure why earlier versions would not be affected. I am running php 7.3.11.
Description
When using the
ChromePHPHandler
the following error may occur:To replicate add the following to the monolog configuration:
I think we can replace the
$this->sendHeaders
on lines 44 and 62 withself::$sendHeaders
without any problem since thesendHeaders
property is static in both version 1.25.1 and 2.x of monolog.PR is on its way.
The text was updated successfully, but these errors were encountered: