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

标签 php mysql prestashop smarty prestashop-1.7

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

(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

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

最佳答案

尝试清理 var/cache/或 app/cache 中的缓存 并检查 PHP 版本!

问候

关于php - 域名更改后产品页面上的 Prestashop 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53372182/

相关文章:

php - 在 Prestashop 模块中使用命名空间

variables - 如何在 prestashop 1.5 中创建 smarty 变量

php - 亚马逊 S3-x-amz-meta

java - 安装 Solr PHP JAVA_HOME 错误

php - 连接服务器上的 PDO 时发生错误

mysql - 维护与远程生产数据库同步的本地 mysql 数据库以进行测试

php - Magento:如何将制造国属性复制到另一个属性中?

mysql - 在 Insert 查询中对相同的表名使用 select 查询

Mysql水平连接,表值作为列

css - 用户如何选择 css 样式?