{"action":"created","issue":{"url":"https://api.github.com/repos/Rias500/craft-notifications/issues/3","repository_url":"https://api.github.com/repos/Rias500/craft-notifications","labels_url":"https://api.github.com/repos/Rias500/craft-notifications/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Rias500/craft-notifications/issues/3/comments","events_url":"https://api.github.com/repos/Rias500/craft-notifications/issues/3/events","html_url":"https://github.com/Rias500/craft-notifications/issues/3","id":296002261,"number":3,"title":"PHP Warning – yii\\base\\ErrorException after setting up","user":{"login":"Saboteur777","id":9061795,"avatar_url":"https://avatars0.githubusercontent.com/u/9061795?v=4","gravatar_id":"","url":"https://api.github.com/users/Saboteur777","html_url":"https://github.com/Saboteur777","followers_url":"https://api.github.com/users/Saboteur777/followers","following_url":"https://api.github.com/users/Saboteur777/following{/other_user}","gists_url":"https://api.github.com/users/Saboteur777/gists{/gist_id}","starred_url":"https://api.github.com/users/Saboteur777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saboteur777/subscriptions","organizations_url":"https://api.github.com/users/Saboteur777/orgs","repos_url":"https://api.github.com/users/Saboteur777/repos","events_url":"https://api.github.com/users/Saboteur777/events{/privacy}","received_events_url":"https://api.github.com/users/Saboteur777/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-09T20:30:05Z","updated_at":"2018-02-12T08:18:06Z","closed_at":"2018-02-11T20:42:17Z","author_association":"NONE","body":"Just got the error below. What am I missing? \r\n\r\n```\r\nyii\\base\\ErrorException: Illegal string offset 'class' in /var/www/vendor/rias/craft-notifications/src/Notifications.php:89\r\nStack trace:\r\n#0 /var/www/vendor/craftcms/cms/src/web/ErrorHandler.php(84): yii\\base\\ErrorHandler->handleError(2, 'Illegal string ...', '/var/www/vendor...', 89)\r\n#1 /var/www/vendor/rias/craft-notifications/src/Notifications.php(89): craft\\web\\ErrorHandler->handleError(2, 'Illegal string ...', '/var/www/vendor...', 89, Array)\r\n#2 /var/www/vendor/yiisoft/yii2/base/BaseObject.php(108): rias\\notifications\\Notifications->init()\r\n#3 /var/www/vendor/yiisoft/yii2/base/Module.php(158): yii\\base\\BaseObject->__construct(Array)\r\n#4 /var/www/vendor/craftcms/cms/src/base/Plugin.php(88): yii\\base\\Module->__construct('notifications', Object(craft\\web\\Application), Array)\r\n#5 [internal function]: craft\\base\\Plugin->__construct('notifications', Object(craft\\web\\Application), Array)\r\n#6 /var/www/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array)\r\n#7 /var/www/vendor/yiisoft/yii2/di/Container.php(156): yii\\di\\Container->build('rias\\\\notificati...', Array, Array)\r\n#8 /var/www/vendor/yiisoft/yii2/BaseYii.php(349): yii\\di\\Container->get('rias\\\\notificati...', Array, Array)\r\n#9 /var/www/vendor/craftcms/cms/src/services/Plugins.php(777): yii\\BaseYii::createObject(Array, Array)\r\n#10 /var/www/vendor/craftcms/cms/src/services/Plugins.php(196): craft\\services\\Plugins->createPlugin('notifications', Array)\r\n#11 /var/www/vendor/craftcms/cms/src/base/ApplicationTrait.php(1195): craft\\services\\Plugins->loadPlugins()\r\n#12 /var/www/vendor/craftcms/cms/src/web/Application.php(97): craft\\web\\Application->_init()\r\n#13 /var/www/vendor/yiisoft/yii2/base/BaseObject.php(108): craft\\web\\Application->init()\r\n#14 /var/www/vendor/yiisoft/yii2/base/Application.php(206): yii\\base\\BaseObject->__construct(Array)\r\n#15 /var/www/vendor/craftcms/cms/src/web/Application.php(85): yii\\base\\Application->__construct(Array)\r\n#16 [internal function]: craft\\web\\Application->__construct(Array)\r\n#17 /var/www/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array)\r\n#18 /var/www/vendor/yiisoft/yii2/di/Container.php(156): yii\\di\\Container->build('craft\\\\web\\\\Appli...', Array, Array)\r\n#19 /var/www/vendor/yiisoft/yii2/BaseYii.php(349): yii\\di\\Container->get('craft\\\\web\\\\Appli...', Array, Array)\r\n#20 /var/www/vendor/craftcms/cms/bootstrap/bootstrap.php(243): yii\\BaseYii::createObject(Array)\r\n#21 /var/www/vendor/craftcms/cms/bootstrap/web.php(42): require('/var/www/vendor...')\r\n#22 /var/www/html/index.php(20): require('/var/www/vendor...')\r\n#23 {main}\r\n```"},"comment":{"url":"https://api.github.com/repos/Rias500/craft-notifications/issues/comments/364853100","html_url":"https://github.com/Rias500/craft-notifications/issues/3#issuecomment-364853100","issue_url":"https://api.github.com/repos/Rias500/craft-notifications/issues/3","id":364853100,"user":{"login":"Saboteur777","id":9061795,"avatar_url":"https://avatars0.githubusercontent.com/u/9061795?v=4","gravatar_id":"","url":"https://api.github.com/users/Saboteur777","html_url":"https://github.com/Saboteur777","followers_url":"https://api.github.com/users/Saboteur777/followers","following_url":"https://api.github.com/users/Saboteur777/following{/other_user}","gists_url":"https://api.github.com/users/Saboteur777/gists{/gist_id}","starred_url":"https://api.github.com/users/Saboteur777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saboteur777/subscriptions","organizations_url":"https://api.github.com/users/Saboteur777/orgs","repos_url":"https://api.github.com/users/Saboteur777/repos","events_url":"https://api.github.com/users/Saboteur777/events{/privacy}","received_events_url":"https://api.github.com/users/Saboteur777/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T08:18:06Z","updated_at":"2018-02-12T08:18:06Z","author_association":"NONE","body":"Thanks, that solved the problem! "}}
{"actor":{"display_login":"Saboteur777"}}