Template compilation bug on tag DEFINE

Template in ACP failed with "[phpBB Debug] PHP Notice: in file /includes/classes/TemplateCompile.php on line 609: Undefined offset: 0" where template cache directory is not exist. Mistake in code.