{"action":"opened","issue":{"url":"https://api.github.com/repos/nystudio107/craft-imageoptimize/issues/44","repository_url":"https://api.github.com/repos/nystudio107/craft-imageoptimize","labels_url":"https://api.github.com/repos/nystudio107/craft-imageoptimize/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/nystudio107/craft-imageoptimize/issues/44/comments","events_url":"https://api.github.com/repos/nystudio107/craft-imageoptimize/issues/44/events","html_url":"https://github.com/nystudio107/craft-imageoptimize/issues/44","id":296028788,"number":44,"title":"[error][Error] Error: Call to undefined function nystudio107\\imageoptimize\\lib\\imagecreatefromjpeg() in /var/www/vendor/nystudio107/craft-imageoptimize/src/lib/Potracio.php:194","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T22:14:05Z","updated_at":"2018-02-09T22:14:05Z","closed_at":null,"author_association":"NONE","body":"```\r\n2018-02-09 23:12:05 [172.22.0.1][1][-][info][nystudio107\\imageoptimize\\services\\OptimizedImages::addVariantImageToModel] URL created: /images/articles/_1200x743_crop_center-center_82_line/phil-botha-424950.jpg\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][error][craft\\queue\\QueueLogBehavior::afterError]  [244] Resaving Assets in Cikk képek (attempt: 1) - Error (time: 0.320s): Call to undefined function nystudio107\\imageoptimize\\lib\\imagecreatefromjpeg()\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][error][Error] Error: Call to undefined function nystudio107\\imageoptimize\\lib\\imagecreatefromjpeg() in /var/www/vendor/nystudio107/craft-imageoptimize/src/lib/Potracio.php:194\r\nStack trace:\r\n#0 /var/www/vendor/nystudio107/craft-imageoptimize/src/services/Placeholder.php(130): nystudio107\\imageoptimize\\lib\\Potracio->loadImageFromFile('/var/www/storag...')\r\n#1 /var/www/vendor/nystudio107/craft-imageoptimize/src/services/OptimizedImages.php(171): nystudio107\\imageoptimize\\services\\Placeholder->generatePlaceholderSvg('/var/www/storag...')\r\n#2 /var/www/vendor/nystudio107/craft-imageoptimize/src/services/OptimizedImages.php(249): nystudio107\\imageoptimize\\services\\OptimizedImages->generatePlaceholders(Object(craft\\elements\\Asset), Object(nystudio107\\imageoptimize\\models\\OptimizedImage), 1.6137472283814)\r\n#3 /var/www/vendor/nystudio107/craft-imageoptimize/src/services/OptimizedImages.php(101): nystudio107\\imageoptimize\\services\\OptimizedImages->addVariantImageToModel(Object(craft\\elements\\Asset), Object(nystudio107\\imageoptimize\\models\\OptimizedImage), Object(craft\\models\\AssetTransform), Array, 1.6137472283814)\r\n#4 /var/www/vendor/nystudio107/craft-imageoptimize/src/services/OptimizedImages.php(274): nystudio107\\imageoptimize\\services\\OptimizedImages->populateOptimizedImageModel(Object(craft\\elements\\Asset), Array, Object(nystudio107\\imageoptimize\\models\\OptimizedImage))\r\n#5 /var/www/vendor/nystudio107/craft-imageoptimize/src/jobs/ResaveOptimizedImages.php(77): nystudio107\\imageoptimize\\services\\OptimizedImages->updateOptimizedImageFieldData(Object(nystudio107\\imageoptimize\\fields\\OptimizedImages), Object(craft\\elements\\Asset))\r\n#6 /var/www/vendor/yiisoft/yii2-queue/src/Queue.php(213): nystudio107\\imageoptimize\\jobs\\ResaveOptimizedImages->execute(Object(craft\\queue\\Queue))\r\n#7 /var/www/vendor/yiisoft/yii2-queue/src/cli/Queue.php(139): yii\\queue\\Queue->handleMessage('244', 'O:52:\"nystudio1...', '300', 1)\r\n#8 /var/www/vendor/craftcms/cms/src/queue/Queue.php(95): yii\\queue\\cli\\Queue->handleMessage('244', 'O:52:\"nystudio1...', '300', 1)\r\n#9 /var/www/vendor/craftcms/cms/src/controllers/QueueController.php(84): craft\\queue\\Queue->run()\r\n#10 /var/www/vendor/craftcms/cms/src/controllers/QueueController.php(104): craft\\controllers\\QueueController->actionRun()\r\n#11 [internal function]: craft\\controllers\\QueueController->actionRetry()\r\n#12 /var/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)\r\n#13 /var/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)\r\n#14 /var/www/vendor/craftcms/cms/src/web/Controller.php(80): yii\\base\\Controller->runAction('retry', Array)\r\n#15 /var/www/vendor/yiisoft/yii2/base/Module.php(528): craft\\web\\Controller->runAction('retry', Array)\r\n#16 /var/www/vendor/craftcms/cms/src/web/Application.php(241): yii\\base\\Module->runAction('queue/retry', Array)\r\n#17 /var/www/vendor/craftcms/cms/src/web/Application.php(451): craft\\web\\Application->runAction('queue/retry', Array)\r\n#18 /var/www/vendor/craftcms/cms/src/web/Application.php(212): craft\\web\\Application->_processActionRequest(Object(craft\\web\\Request))\r\n#19 /var/www/vendor/yiisoft/yii2/base/Application.php(386): craft\\web\\Application->handleRequest(Object(craft\\web\\Request))\r\n#20 /var/www/html/index.php(21): yii\\base\\Application->run()\r\n#21 {main}\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][info][yii\\db\\Command::execute] UPDATE `queue` SET `fail`=1, `dateFailed`='2018-02-09 22:12:06', `error`='Call to undefined function nystudio107\\\\imageoptimize\\\\lib\\\\imagecreatefromjpeg()' WHERE `id`='244'\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile begin][yii\\db\\Command::execute] UPDATE `queue` SET `fail`=1, `dateFailed`='2018-02-09 22:12:06', `error`='Call to undefined function nystudio107\\\\imageoptimize\\\\lib\\\\imagecreatefromjpeg()' WHERE `id`='244'\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile end][yii\\db\\Command::execute] UPDATE `queue` SET `fail`=1, `dateFailed`='2018-02-09 22:12:06', `error`='Call to undefined function nystudio107\\\\imageoptimize\\\\lib\\\\imagecreatefromjpeg()' WHERE `id`='244'\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][info][yii\\db\\Command::execute] UPDATE `queue` SET `dateReserved`=NULL, `timeUpdated`=NULL, `progress`=0 WHERE `timeUpdated` < 1518214326 - `ttr`\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile begin][yii\\db\\Command::execute] UPDATE `queue` SET `dateReserved`=NULL, `timeUpdated`=NULL, `progress`=0 WHERE `timeUpdated` < 1518214326 - `ttr`\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile end][yii\\db\\Command::execute] UPDATE `queue` SET `dateReserved`=NULL, `timeUpdated`=NULL, `progress`=0 WHERE `timeUpdated` < 1518214326 - `ttr`\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][info][yii\\db\\Command::query] SELECT *\r\nFROM `queue`\r\nWHERE ((`fail`=FALSE) AND (`timeUpdated` IS NULL)) AND (`timePushed` <= 1518214326 - `delay`)\r\nORDER BY `priority`, `id`\r\nLIMIT 1\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile begin][yii\\db\\Command::query] SELECT *\r\nFROM `queue`\r\nWHERE ((`fail`=FALSE) AND (`timeUpdated` IS NULL)) AND (`timePushed` <= 1518214326 - `delay`)\r\nORDER BY `priority`, `id`\r\nLIMIT 1\r\n2018-02-09 23:12:06 [172.22.0.1][1][-][profile end][yii\\db\\Command::query] SELECT *\r\nFROM `queue`\r\nWHERE ((`fail`=FALSE) AND (`timeUpdated` IS NULL)) AND (`timePushed` <= 1518214326 - `delay`)\r\nORDER BY `priority`, `id`\r\nLIMIT 1\r\n\r\n```"}}
{"actor":{"display_login":"Saboteur777"}}