Błąd w szablonie widoku

/libraries/Smarty/Smarty_Compiler.class.php: 270

preg_replace_callback(): Requires argument 2, ''{php' . str_repeat(" ", substr_count('\0', " ")) .'}'', to be a valid callback