[BUGFIX] Add missing getTemplatePathAndFilename() in TemplatePaths