{"action":"created","issue":{"url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/76","labels_url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/76/comments","events_url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/76/events","html_url":"https://github.com/DMAGmbH/dma_elementgenerator/issues/76","id":51900118,"number":76,"title":"Argument 1 passed to Contao\\Image::__construct() must be an instance of Contao\\File, null given, called in Image.php","user":{"login":"morhai","id":10179712,"avatar_url":"https://avatars.githubusercontent.com/u/10179712?v=3","gravatar_id":"","url":"https://api.github.com/users/morhai","html_url":"https://github.com/morhai","followers_url":"https://api.github.com/users/morhai/followers","following_url":"https://api.github.com/users/morhai/following{/other_user}","gists_url":"https://api.github.com/users/morhai/gists{/gist_id}","starred_url":"https://api.github.com/users/morhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morhai/subscriptions","organizations_url":"https://api.github.com/users/morhai/orgs","repos_url":"https://api.github.com/users/morhai/repos","events_url":"https://api.github.com/users/morhai/events{/privacy}","received_events_url":"https://api.github.com/users/morhai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-13T21:23:06Z","updated_at":"2015-02-20T07:45:48Z","closed_at":"2015-02-19T16:01:45Z","body":"Hallo,\r\n\r\nfolgender Fehler trat bei mir nach einem Update von 3.3.6 auf 3.4.0 auf. Version DMA: 1.0.0.9004\r\nEs betrifft den Feldtyp Bild. Sobald der Feldtyp nicht mehr benutzt wird tritt der Fehler nicht mehr auf.\r\n\r\nAnscheinend verlangt Image.php nun eine andere Übergabe. Leider kenne ich mich nicht genug aus um weitere Mutmaßungen zu treffen.\r\n\r\n[13-Dec-2014 21:26:26 Europe/Berlin] \r\nPHP Recoverable error: Argument 1 passed to Contao\\Image::__construct() must be an instance of Contao\\File, null given, called in /system/modules/core/library/Contao/Image.php on line 862 and defined in /system/modules/core/library/Contao/Image.php on line 109\r\n#0 /system/modules/core/library/Contao/Image.php(109): __error(4096, 'Argument 1 pass...', '/var/www/vhosts...', 109, Array)\r\n#1 /system/modules/core/library/Contao/Image.php(862): Contao\\Image->__construct(NULL)\r\n#2 /system/modules/core/library/Contao/Controller.php(2595): Contao\\Image::create(NULL, NULL)\r\n#3 /system/modules/dma_elementgenerator/DMAElementGenerator.php(605): Contao\\Controller::addImageToTemplate(Object(Contao\\FrontendTemplate), Array)\r\n#4 /system/modules/dma_elementgenerator/DMAElementGenerator.php(48): DMAElementGenerator->compile(Object(DMAElementGeneratorContent))\r\n#5 /system/modules/dma_elementgenerator/DMAElementGeneratorContent.php(47): DMAElementGenerator->generate(Object(DMAElementGeneratorContent))\r\n#6 /system/modules/core/elements/ContentElement.php(174): DMAElementGeneratorContent->compile()\r\n#7 /system/modules/core/library/Contao/Controller.php(473): Contao\\ContentElement->generate()\r\n#8 /system/modules/core/modules/ModuleArticle.php(196): Contao\\Controller::getContentElement(Object(Contao\\ContentModel), 'main')\r\n#9 /system/modules/core/modules/Module.php(163): Contao\\ModuleArticle->compile()\r\n#10 /system/modules/core/modules/ModuleArticle.php(59): Contao\\Module->generate()\r\n#11 /system/modules/core/library/Contao/Controller.php(409): Contao\\ModuleArticle->generate(true)\r\n#12 /system/modules/core/elements/ContentArticle.php(37): Contao\\Controller::getArticle('66', false, true)\r\n#13 /system/modules/core/library/Contao/Controller.php(473): Contao\\ContentArticle->generate()\r\n#14 /system/modules/core/modules/ModuleArticle.php(196): Contao\\Controller::getContentElement(Object(Contao\\ContentModel), 'right')\r\n#15 /system/modules/core/modules/Module.php(163): Contao\\ModuleArticle->compile()\r\n#16 /system/modules/core/modules/ModuleArticle.php(59): Contao\\Module->generate()\r\n#17 /system/modules/core/library/Contao/Controller.php(409): Contao\\ModuleArticle->generate(false)\r\n#18 /system/modules/core/library/Contao/Controller.php(273): Contao\\Controller::getArticle(Object(Contao\\ArticleModel), false, false, 'right')\r\n#19 /system/modules/core/pages/PageRegular.php(138): Contao\\Controller::getFrontendModule('0', 'right')\r\n#20 /system/modules/core/controllers/FrontendIndex.php(253): Contao\\PageRegular->generate(Object(Contao\\PageModel), true)\r\n#21 /index.php(22): Contao\\FrontendIndex->run()\r\n#22 {main}\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/comments/75201075","html_url":"https://github.com/DMAGmbH/dma_elementgenerator/issues/76#issuecomment-75201075","issue_url":"https://api.github.com/repos/DMAGmbH/dma_elementgenerator/issues/76","id":75201075,"user":{"login":"JanoschSkuplik","id":1091983,"avatar_url":"https://avatars.githubusercontent.com/u/1091983?v=3","gravatar_id":"","url":"https://api.github.com/users/JanoschSkuplik","html_url":"https://github.com/JanoschSkuplik","followers_url":"https://api.github.com/users/JanoschSkuplik/followers","following_url":"https://api.github.com/users/JanoschSkuplik/following{/other_user}","gists_url":"https://api.github.com/users/JanoschSkuplik/gists{/gist_id}","starred_url":"https://api.github.com/users/JanoschSkuplik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanoschSkuplik/subscriptions","organizations_url":"https://api.github.com/users/JanoschSkuplik/orgs","repos_url":"https://api.github.com/users/JanoschSkuplik/repos","events_url":"https://api.github.com/users/JanoschSkuplik/events{/privacy}","received_events_url":"https://api.github.com/users/JanoschSkuplik/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T07:45:48Z","updated_at":"2015-02-20T07:45:48Z","body":"Danke an @morhai für die Testumgebung."}}