Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 来自模块的未知Smarty标记_Php_Prestashop_Prestashop 1.6 - Fatal编程技术网

Php 来自模块的未知Smarty标记

Php 来自模块的未知Smarty标记,php,prestashop,prestashop-1.6,Php,Prestashop,Prestashop 1.6,我必须修复另一个团队制作的Prestashop网站。他们制作了自己的导航菜单管理器模块 当模板尝试渲染菜单时,我得到以下结果: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "C:\laragon\www\encloque_fresh\themes\en-cloque\header.tpl" on line 105 "{menu key='bloctopmenu' module="blocktopm

我必须修复另一个团队制作的Prestashop网站。他们制作了自己的导航菜单管理器模块

当模板尝试渲染菜单时,我得到以下结果:

 Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "C:\laragon\www\encloque_fresh\themes\en-cloque\header.tpl" on line 105 "{menu key='bloctopmenu' module="blocktopmenu" tpl_container="topmenu" tpl_item="item" max_level=3}" unknown tag "menu" <-- thrown in C:\laragon\www\encloque_fresh\tools\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 105

致命错误:未捕获-->Smarty编译器:模板“C:\laragon\www\encloque\u fresh\themes\en cloque\header.tpl”第105行“{menu key='bloctopmenu'module=“blocktopmenu”tpl\u container=“topmenu”tpl\u item=“item”max\u level=3}”未知标记”菜单”中的语法错误有些想法是错误的

“{menu key='bloctopmenu'module=“blocktopmenu”tpl_container=“topmenu”tpl_item=“item”max_level=3}”

菜单是1.7中tpl的功能表:

您可能需要删除此模块,并安装原始blocktopmenu

您确定标签
菜单存在吗?我不习惯smarty模板系统,所以我甚至不知道如何通过“导航菜单管理器”来检查^^^^^您是指“模块”还是其他类似于为smarty添加代码的内容?我不知道那个标签,用谷歌搜索它什么也不返回是的,就是它。他们做了一个模块来管理菜单链接,所以这是一个奇怪的方式来调用模块。。。能否显示blocktopmenu/blocktopmenu.php文件?
<div class="row">
  {menu key='bloctopmenu' module="blocktopmenu" tpl_container="topmenu" tpl_item="item" max_level=3}
</div>