phptek / silverstripe-sentry

Flexible Sentry compatible bug aggregation client for Silverstripe applications.
BSD 3-Clause "New" or "Revised" License
12 stars 22 forks source link

Incompatible issue with latest version of Monolog (1.24.0) #17

Closed zzdjk6 closed 5 years ago

zzdjk6 commented 5 years ago

After run a composer update and it shows the monolog bump up to 1.24.0, this lib stops working and PHP complains above message.

Fatal error: Access level to PhpTek\Sentry\Monolog\Handler\SentryRavenHandler::$logLevels must be protected (as in class Monolog\Handler\RavenHandler) or weaker in /var/www/.../vendor/phptek/sentry/src/Handler/SentryRavenHandler.php on line 23

It works find when lock the monolog version to 1.23.0.

phptek commented 5 years ago

@zzdjk6 This is now fixed in 2.0.1