致命错误:函数名称必须是 /home/sites/northwells.co.uk/.. 中的字符串./sysplugi


Fatal error: Function name must be a string in /home/sites/northwells.co.uk/.../sysplugins/smarty_internal_templatebase.php on line 281

我正在使用Prestashop 1.5.4.1,安装新模板后,出现此错误:

致命错误:函数名称必须是第 281 行/home/sites/northwells.co.uk/.../sysplugins/smarty_internal_templatebase.php 中的字符串

第 281 行的代码说:

$_template->properties['unifunc']($_template);

可能出了什么问题?我对PHP了解不多。非常感谢您的帮助。

英国皇家空军

似乎是

在Prestashop 1.5.5中修复的错误

http://www.prestashop.com/forums/topic/205130-blank-page-when-cache-enabled/

我知道

这不是最好的解决方案,但由于我无法更新 prestashop 的版本,因为我的主题在模块''块类别''块类别.php中,我评论行:工具 :: enableCache()和工具 :: 恢复缓存设置() ,解决了这个问题。