Call to a member function setTemplate() on a non-object
Merge pull request #241 from miroslavhajek/hotfix/call-to-member-function-settemplate-on-non-object

Call to a member function setTemplate() on a non-object