首页 文章

如何修复Prestashop致命错误:未捕获 - > Smarty编译器?

提问于
浏览
-1

致命错误:未捕获 - > Smarty编译器:模板中的语法错误“/home/sites/riversoft.com.mk/public_html/admin397ebpwvj/themes/default/template/header.tpl”第256行“headers:{”缓存-control“:”no-cache“},” - 意外“:”,预期之一:“}”< - 抛出/home/sites/riversoft.com.mk/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase第256行的.php

1 回答

  • 0

    在/home/sites/riversoft.com.mk/public_html/admin397ebpwvj/themes/default/template/header.tpl中删除 headers: {"cache-control": "no-cache"} 或将其包含在中,如下所示:

    {literal}headers: {"cache-control": "no-cache"}{/literal}
    

相关问题