{"action":"created","issue":{"url":"https://api.github.com/repos/Adyen/magento/issues/182","labels_url":"https://api.github.com/repos/Adyen/magento/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/Adyen/magento/issues/182/comments","events_url":"https://api.github.com/repos/Adyen/magento/issues/182/events","html_url":"https://github.com/Adyen/magento/issues/182","id":55750122,"number":182,"title":"Urgent. Extension calling empty template file - ERR (3): Warning: include(): Filename cannot be empty in","user":{"login":"seansan","id":652395,"avatar_url":"https://avatars.githubusercontent.com/u/652395?v=3","gravatar_id":"","url":"https://api.github.com/users/seansan","html_url":"https://github.com/seansan","followers_url":"https://api.github.com/users/seansan/followers","following_url":"https://api.github.com/users/seansan/following{/other_user}","gists_url":"https://api.github.com/users/seansan/gists{/gist_id}","starred_url":"https://api.github.com/users/seansan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seansan/subscriptions","organizations_url":"https://api.github.com/users/seansan/orgs","repos_url":"https://api.github.com/users/seansan/repos","events_url":"https://api.github.com/users/seansan/events{/privacy}","received_events_url":"https://api.github.com/users/seansan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-28T12:26:03Z","updated_at":"2015-08-13T14:01:59Z","closed_at":"2015-02-03T08:19:33Z","body":"HI, we See continuous logs of this error in logging. This is being caused by Adyen plugin. However we do not know if this is a config issue or coding issue. \r\n\r\nMost importantly empty template calls meay never occur. And should be neatly logged (and checked for being empty) before calling SetTemplate\r\n\r\n**The original error:**\r\n\r\nERR (3): Warning: include(): Filename cannot be empty in /app/code/core/Mage/Core/Block/Template.php on line 241\r\nERR (3): Warning: include(): Failed opening '' for inclusion (include_path= many directories here)\r\n\r\n**after debugging we found out this is the file/class causing it**\r\n\r\n2015-01-28T12:02:57+00:00 DEBUG (7): File calling empty template file frontend/base/default/template/adyen/pdf/hpp.phtml on a Adyen_Payment_Block_Info_Hpp\r\n\r\n**Debug Backtrace**\r\n\r\nFile\tLine\tFunction\r\n/app/code/core/Mage/Core/Block/Template.php\t243\tprintDebugBacktrace\r\n/app/code/core/Mage/Core/Block/Template.php\t277\tfetchView\r\n/app/code/core/Mage/Core/Block/Template.php\t291\trenderView\r\n/app/code/core/Mage/Core/Block/Abstract.php\t919\t_toHtml\r\n/app/code/community/Adyen/Payment/Block/Info/Hpp.php\t37\ttoHtml\r\n/app/code/local/Mage/Sales/Model/Order/Pdf/Abstract.php\t318\ttoPdf\r\n/app/code/community/Fooman/EmailAttachments/Model/Order/Pdf/Order.php\t59\tinsertOrder\r\n/app/code/community/Fooman/EmailAttachments/Model/Observer.php\t71\tgetPdf\r\n/app/code/core/Mage/Core/Model/App.php\t1338\tbeforeSendOrder\r\n/app/code/core/Mage/Core/Model/App.php\t1317\t_callObserverMethod\r\n/app/Mage.php\t468\tdispatchEvent\r\n/app/code/community/Fooman/EmailAttachments/Model/Core/Email/Template/Mailer.php\t71\tdispatchEvent\r\n/app/code/community/Fooman/EmailAttachments/Model/Core/Email/Template/Mailer.php\t28\tdispatchAttachEvent\r\n/app/code/core/Mage/Sales/Model/Order.php\t1340\tsend\r\n/app/code/community/Adyen/Payment/Model/Process.php\t645\tsendNewOrderEmail\r\n/app/code/community/Adyen/Payment/Model/Process.php\t601\tauthorizePayment\r\n/app/code/community/Adyen/Payment/Model/Process.php\t95\t_processNotifications\r\n/app/code/community/Adyen/Payment/controllers/ProcessController.php\t348\tprocessResponse\r\n/app/code/community/Adyen/Payment/controllers/ProcessController.php\t274\tprocessResponse\r\n/app/code/core/Mage/Core/Controller/Varien/Action.php\t418\tinsAction\r\n/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php\t250\tdispatch\r\n/app/code/core/Mage/Core/Controller/Varien/Front.php\t172\tmatch\r\n/app/code/core/Mage/Core/Model/App.php\t354\tdispatch\r\n/app/Mage.php\t705\trun\r\n/index.php\t89\trun\r\n"},"comment":{"url":"https://api.github.com/repos/Adyen/magento/issues/comments/130684295","html_url":"https://github.com/Adyen/magento/issues/182#issuecomment-130684295","issue_url":"https://api.github.com/repos/Adyen/magento/issues/182","id":130684295,"user":{"login":"seansan","id":652395,"avatar_url":"https://avatars.githubusercontent.com/u/652395?v=3","gravatar_id":"","url":"https://api.github.com/users/seansan","html_url":"https://github.com/seansan","followers_url":"https://api.github.com/users/seansan/followers","following_url":"https://api.github.com/users/seansan/following{/other_user}","gists_url":"https://api.github.com/users/seansan/gists{/gist_id}","starred_url":"https://api.github.com/users/seansan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seansan/subscriptions","organizations_url":"https://api.github.com/users/seansan/orgs","repos_url":"https://api.github.com/users/seansan/repos","events_url":"https://api.github.com/users/seansan/events{/privacy}","received_events_url":"https://api.github.com/users/seansan/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:01:59Z","updated_at":"2015-08-13T14:01:59Z","body":"thanks! Problem though is that the temmplate is in an external extension\n...\n\nOn Thu, Aug 13, 2015 at 3:48 PM, Pieter Hoste <notifications@github.com>\nwrote:\n\n> In case someone encounters this problem again (like we did just now), you\n> need to add this line to your custom code:\n>\n> Mage::getDesign()->setArea('adminhtml');\n>\n> Just like @adyenpayments <https://github.com/adyenpayments> was saying\n> constantly, but for some reason I kept missing the point, maybe a code\n> sample is more obvious for people like me :)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Adyen/magento/issues/182#issuecomment-130678036>.\n>\n"}}