{"action":"created","issue":{"url":"https://api.github.com/repos/zordius/lightncandy/issues/234","repository_url":"https://api.github.com/repos/zordius/lightncandy","labels_url":"https://api.github.com/repos/zordius/lightncandy/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/zordius/lightncandy/issues/234/comments","events_url":"https://api.github.com/repos/zordius/lightncandy/issues/234/events","html_url":"https://github.com/zordius/lightncandy/issues/234","id":163879698,"number":234,"title":"Can't use lookup helper for dynamic partial","user":{"login":"lzilioli","id":4664956,"avatar_url":"https://avatars.githubusercontent.com/u/4664956?v=3","gravatar_id":"","url":"https://api.github.com/users/lzilioli","html_url":"https://github.com/lzilioli","followers_url":"https://api.github.com/users/lzilioli/followers","following_url":"https://api.github.com/users/lzilioli/following{/other_user}","gists_url":"https://api.github.com/users/lzilioli/gists{/gist_id}","starred_url":"https://api.github.com/users/lzilioli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzilioli/subscriptions","organizations_url":"https://api.github.com/users/lzilioli/orgs","repos_url":"https://api.github.com/users/lzilioli/repos","events_url":"https://api.github.com/users/lzilioli/events{/privacy}","received_events_url":"https://api.github.com/users/lzilioli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zordius/lightncandy/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-05T15:32:45Z","updated_at":"2016-07-16T03:37:00Z","closed_at":null,"body":"When trying to use the lookup helper to find the name of a dynamic partial from the page model, I get the following error:\r\n\r\n```\r\nFatal error: Uncaught exception 'Exception' with message ' in /var/lib/my-project/includes/classes/Handlebars/Compiler.php on line 49\r\n\r\nException: Can not find custom helper function defination lookup() !\r\nCan not find custom helper function defination lookup() ! in /var/lib/my-project/vendor/zordius/lightncandy/src/LightnCandy.php on line 80\r\n\r\nCall Stack:\r\n    0.4015    1051640   1. {main}() /var/lib/my-project/responsive/category.php:0\r\n    0.4257    1184672   2. page::render() /var/lib/my-project/responsive/category.php:29\r\n    4.1662    5469168   3. page::content() /var/lib/my-project/includes/classes/page.php:297\r\n    4.1663    5470192   4. Handlebars\\Renderer->render() /var/lib/my-project/includes/classes/page.php:432\r\n    4.1663    5470192   5. Handlebars\\DynamicRenderer->getRenderFunction() /var/lib/my-project/includes/classes/Handlebars/Renderer.php:26\r\n    4.1663    5470192   6. Handlebars\\Compiler->compile() /var/lib/my-project/includes/classes/Handlebars/DynamicRenderer.php:18\r\n    4.1702    5476320   7. LightnCandy\\LightnCandy::compile() /var/lib/my-project/includes/classes/Handlebars/Compiler.php:47\r\n    4.2421    5536168   8. LightnCandy\\LightnCandy::handleError() /var/lib/my-project/vendor/zordius/lightncandy/src/LightnCandy.php:53\r\n\r\nRuntimeException: failed to compile template '/var/lib/my-project/includes/templates/master.hbs' in /var/lib/my-project/includes/classes/Handlebars/Compiler.php on line 49\r\n\r\nCall Stack:\r\n    0.4015    1051640   1. {main}() /var/lib/my-project/responsive/category.php:0\r\n    0.4257    1184672   2. page::render() /var/lib/my-project/responsive/category.php:29\r\n    4.1662    5469168   3. page::content() /var/lib/my-project/includes/classes/page.php:297\r\n    4.1663    5470192   4. Handlebars\\Renderer->render() /var/lib/my-project/includes/classes/page.php:432\r\n    4.1663    5470192   5. Handlebars\\DynamicRenderer->getRenderFunction() /var/lib/my-project/includes/classes/Handlebars/Renderer.php:26\r\n    4.1663    5470192   6. Handlebars\\Compiler->compile() /var/lib/my-project/includes/classes/Handlebars/DynamicRenderer.php:18\r\n```"},"comment":{"url":"https://api.github.com/repos/zordius/lightncandy/issues/comments/233105836","html_url":"https://github.com/zordius/lightncandy/issues/234#issuecomment-233105836","issue_url":"https://api.github.com/repos/zordius/lightncandy/issues/234","id":233105836,"user":{"login":"zordius","id":1201409,"avatar_url":"https://avatars.githubusercontent.com/u/1201409?v=3","gravatar_id":"","url":"https://api.github.com/users/zordius","html_url":"https://github.com/zordius","followers_url":"https://api.github.com/users/zordius/followers","following_url":"https://api.github.com/users/zordius/following{/other_user}","gists_url":"https://api.github.com/users/zordius/gists{/gist_id}","starred_url":"https://api.github.com/users/zordius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zordius/subscriptions","organizations_url":"https://api.github.com/users/zordius/orgs","repos_url":"https://api.github.com/users/zordius/repos","events_url":"https://api.github.com/users/zordius/events{/privacy}","received_events_url":"https://api.github.com/users/zordius/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T03:37:00Z","updated_at":"2016-07-16T03:37:00Z","body":"My bad, I forget this. It should not be happened after v0.89, so @lzilioli can you tell us which version of LightnCandy you used?"}}
{"actor":{"display_login":"zordius"}}