Seldaek / monolog

Sends your logs to files, sockets, inboxes, databases and various web services
https://seldaek.github.io/monolog/
MIT License
21.04k stars 1.9k forks source link

NewRelicHandler exception #1901

Closed scmrus closed 1 week ago

scmrus commented 3 months ago

monolog/monolog:3.7.0 php 8.2

periodically, I'm getting TypeError exception:

TypeError: Cannot access offset of type string on string in /var/www/app/vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:77 
Seldaek commented 2 weeks ago

Do you have a custom formatter set on your NewRelicHandler? Because otherwise I don't see how that is possible.

scmrus commented 1 week ago

I'm sorry, it seems to be the same issue as https://github.com/Seldaek/monolog/issues/1176