Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "D:\wwwroot\template\new_theme\news_cat.html" on line 18 "{foreach from=$channel item=channel name=fchannel}" item variable 'channel' may not be the same variable as at 'from'' in D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:627
Stack trace:
#0 D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_compile_foreach.php(58): Smarty_Internal_TemplateCompilerBase->trigger_template_error('item variable '...', 18)
#1 D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(439): Smarty_Internal_Compile_Foreach->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#2 D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(227): Smarty_Internal_TemplateCompilerBase->callTagCompiler('foreach', Array, Array)
#3 D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2478): Smarty_Internal_ in D:\wwwroot\include\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 627