{"action":"created","issue":{"url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/239","repository_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc","labels_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/239/comments","events_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/239/events","html_url":"https://github.com/GordonLesti/Lesti_Fpc/issues/239","id":160167353,"number":239,"title":"custom login block throwing error with lesti activated","user":{"login":"Webmasterei","id":6458728,"avatar_url":"https://avatars.githubusercontent.com/u/6458728?v=3","gravatar_id":"","url":"https://api.github.com/users/Webmasterei","html_url":"https://github.com/Webmasterei","followers_url":"https://api.github.com/users/Webmasterei/followers","following_url":"https://api.github.com/users/Webmasterei/following{/other_user}","gists_url":"https://api.github.com/users/Webmasterei/gists{/gist_id}","starred_url":"https://api.github.com/users/Webmasterei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Webmasterei/subscriptions","organizations_url":"https://api.github.com/users/Webmasterei/orgs","repos_url":"https://api.github.com/users/Webmasterei/repos","events_url":"https://api.github.com/users/Webmasterei/events{/privacy}","received_events_url":"https://api.github.com/users/Webmasterei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-14T12:21:10Z","updated_at":"2016-06-16T06:56:01Z","closed_at":null,"body":"Hi Gordon, \r\nI added lestifpc to a new site. It had in header.phtml the code\r\n`<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('customer_form_mini_login')->toHtml(); ?>`\r\nWhich I know it wouldn't work so I swapped to:\r\n`<?php echo $this->getChildHtml('customer_form_mini_login'); ?>`\r\nWith this layout block setup:\r\n`<block type=\"customer/form_login\" name=\"customer_form_mini_login\" as=\"customer_form_mini_login\" template=\"customer/form/mini.login.phtml\">\r\n                    <block type=\"cms/block\" name=\"callout\">\r\n                        <action method=\"setBlockId\"><block_id>callout</block_id></action>\r\n                    </block>\r\n                </block>`\r\n\r\nLast I tried adding it to dynamic block or to lazy block but both does not work. The first load is ok, but then I get a fatal error on login.php\r\n`Fatal error: Call to a member function setTitle() on a non-object in .../app/code/core/Mage/Customer/Block/Form/Login.php on line 40`\r\n\r\nwhich contains:\r\n`        $this->getLayout()->getBlock('head')->setTitle(Mage::helper('customer')->__('Customer Login'));\r\n`\r\n\r\nAny Idea what could cause this?\r\nThanks for your help!"},"comment":{"url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/comments/226403169","html_url":"https://github.com/GordonLesti/Lesti_Fpc/issues/239#issuecomment-226403169","issue_url":"https://api.github.com/repos/GordonLesti/Lesti_Fpc/issues/239","id":226403169,"user":{"login":"GordonLesti","id":1677744,"avatar_url":"https://avatars.githubusercontent.com/u/1677744?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonLesti","html_url":"https://github.com/GordonLesti","followers_url":"https://api.github.com/users/GordonLesti/followers","following_url":"https://api.github.com/users/GordonLesti/following{/other_user}","gists_url":"https://api.github.com/users/GordonLesti/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonLesti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonLesti/subscriptions","organizations_url":"https://api.github.com/users/GordonLesti/orgs","repos_url":"https://api.github.com/users/GordonLesti/repos","events_url":"https://api.github.com/users/GordonLesti/events{/privacy}","received_events_url":"https://api.github.com/users/GordonLesti/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T06:56:01Z","updated_at":"2016-06-16T06:56:01Z","body":"> Not my code....\r\n:)\r\nThis is confusing to me. Is this block just editing the title of the header? Why should it be dynamic or lazy?"}}
{"actor":{"display_login":"GordonLesti"}}