Mohab
Mohab
I ran into this issue this week upon upgrading Monolog from 2.9 to 3.5, which is part of upgrading Lumen from 8 to 10. This issue only showed up on...
Unfortunately not yet @xuandung38. I upgraded from php 8.0 to 8.2 along with Laravel from 8 to 10, which consecutively upgraded monolog library from 2.9 to 3.5. And I tried...
What I found in debugging this is that `is_resource` here https://github.com/Seldaek/monolog/blob/479c936d2c230d8c467bdb3882afab45a6e6b8ad/src/Monolog/Handler/StreamHandler.php#L118 doesn't detect if the resource STDERR/STDOUT, that was previously opened on this line https://github.com/Seldaek/monolog/blob/479c936d2c230d8c467bdb3882afab45a6e6b8ad/src/Monolog/Handler/StreamHandler.php#L127, is writable. So although `is_resource($this->stream)`...