{"action":"created","issue":{"url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/45","repository_url":"https://api.github.com/repos/putyourlightson/craft-campaign","labels_url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/45/comments","events_url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/45/events","html_url":"https://github.com/putyourlightson/craft-campaign/issues/45","id":395929033,"node_id":"MDU6SXNzdWUzOTU5MjkwMzM=","number":45,"title":"Exception 'Error' when calling run-pending-sendouts from console ","user":{"login":"Saboteur777","id":9061795,"node_id":"MDQ6VXNlcjkwNjE3OTU=","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":1,"created_at":"2019-01-04T13:40:18Z","updated_at":"2019-01-04T16:56:29Z","closed_at":"2019-01-04T15:18:08Z","author_association":"NONE","body":"I get an error when calling the `run-pending-sendouts` task: \r\n\r\n**php craft campaign/sendouts/run-pending-sendouts**\r\n```\r\n0 pending sendout(s) queued.\r\nException 'Error' with message 'Class 'putyourlightson\\campaign\\console\\controllers\\ExitCode' not found'\r\n\r\nin /var/www/vendor/putyourlightson/craft-campaign/src/console/controllers/SendoutsController.php:40\r\n\r\nStack trace:\r\n#0 [internal function]: putyourlightson\\campaign\\console\\controllers\\SendoutsController->actionRunPendingSendouts()\r\n#1 /var/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)\r\n#2 /var/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\r\n#3 /var/www/vendor/yiisoft/yii2/console/Controller.php(148): yii\\base\\Controller->runAction('run-pending-sen...', Array)\r\n#4 /var/www/vendor/yiisoft/yii2/base/Module.php(528): yii\\console\\Controller->runAction('run-pending-sen...', Array)\r\n#5 /var/www/vendor/yiisoft/yii2/console/Application.php(180): yii\\base\\Module->runAction('campaign/sendou...', Array)\r\n#6 /var/www/vendor/yiisoft/yii2/console/Application.php(147): yii\\console\\Application->runAction('campaign/sendou...', Array)\r\n#7 /var/www/vendor/yiisoft/yii2/base/Application.php(386): yii\\console\\Application->handleRequest(Object(craft\\console\\Request))\r\n#8 /var/www/craft(22): yii\\base\\Application->run()\r\n#9 {main}\r\n```\r\n\r\n**php -v**\r\n```\r\nPHP 7.2.12 (cli) (built: Nov 28 2018 22:58:16) ( NTS )\r\nCopyright (c) 1997-2018 The PHP Group\r\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\r\n    with Zend OPcache v7.2.12, Copyright (c) 1999-2018, by Zend Technologies\r\n```"},"comment":{"url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/comments/451501979","html_url":"https://github.com/putyourlightson/craft-campaign/issues/45#issuecomment-451501979","issue_url":"https://api.github.com/repos/putyourlightson/craft-campaign/issues/45","id":451501979,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTUwMTk3OQ==","user":{"login":"Saboteur777","id":9061795,"node_id":"MDQ6VXNlcjkwNjE3OTU=","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":"2019-01-04T16:56:29Z","updated_at":"2019-01-04T16:56:29Z","author_association":"NONE","body":"It works now, thanks! "}}
{"actor":{"display_login":"Saboteur777"}}