域名更改后产品页面上的Prestashop错误

时间:2018-11-19 10:00:05

标签: php mysql prestashop smarty prestashop-1.7

更改我的prestashop安装域名后,我无法再连接到管理员。我尝试了debug mod,然后我能够连接到管理员,但是我的产品页面出现了错误:

(1/1) ContextErrorException
Notice: Undefined index: lng

in e50d7a72e070bd5681c93bfa420e5d7bf7ce90e8_2.file.product.tpl.php line 635
at Block_5636438495bf032887165a3_21987681->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5636438495bf032887165a3_21987681), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5636438495bf032887165a3_21987681), object(Block_15679221315bf0326619f255_83923016))
in smarty_internal_runtime_inheritance.php line 185
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15679221315bf0326619f255_83923016))
in smarty_internal_runtime_inheritance.php line 157

有人可以帮助解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

尝试var/cache/ or app/cache中的干净缓存 并检查PHP版本!

致谢