Prestashop PHP Smarty错误

Prestashop PHP Smarty错误,prestashop,smarty,Prestashop,Smarty,我的错误日志文件不断被这个错误填满,我不知道是什么原因造成的。你知道我怎样才能找到导致错误的原因吗 [14-Aug-2020 13:20:32 Europe/Bucharest] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/

我的错误日志文件不断被这个错误填满,我不知道是什么原因造成的。你知道我怎样才能找到导致错误的原因吗

[14-Aug-2020 13:20:32 Europe/Bucharest] PHP Fatal error:  Uncaught  --> Smarty: 0():Missing '$template' parameter <-- 
  thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177

[14-Aug-2020 13:20:32 Europe/Bu加勒斯特]PHP致命错误:未捕获-->Smarty:0():缺少“$template”参数这意味着代码中有一个名为
{$template}
的变量未定义。它可以是主题模板或模块 我将使用IDE查找这个变量。如果这不起作用,只需使用调试技术,从smarty开始渲染的地方开始,直到崩溃的地方:)

这个问题看起来很复杂,也许会有帮助


这也可能是由于混乱的模块结构、其ModuleFrontController等造成的

您可以尝试编辑此文件:

在第177行输入/home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php

并检查是否可以记录有关错误、文件路径等的更多信息