ALARM 1.5.1
antivir88 opened this issue · 4 comments
antivir88 commented
PHP message: PHP Notice: Trying to get property 'enabled' of non-object in /vendor/yiisoft/yii2/log/Dispatcher.php on line 187
CookiesEater commented
Hi! Provide please config part of log with Sentry target. This is relevant only for 1.5.1 version?
antivir88 commented
Downgrade version to 1.5.0 fixed this bug
antivir88 commented
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'notamedia\sentry\SentryTarget',
'dsn' => '____',
'levels' => ['error', 'warning'],
'context' => true // Write the context information. The default is true.
],
],
],
CookiesEater commented
Sorry, but I can't reproduce this with yii2-app-basic application. Can you provide, please, more info? When this error happen? May be you can check in another application if this error will occur?