php - 域名更改后产品页面上的 Prestashop 错误
问题描述
在我更改我的 prestashop 安装的域名后,我无法再连接到管理员。我尝试了调试模式,然后我能够连接到管理员,但我的产品页面出现错误:
(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/ or app/cache
并检查 PHP 版本!
问候
推荐阅读
- discord.py - Discord.py 机器人门户
- javascript - 输入标签不会在反应中显示
- python - 我如何重建这个数据集,以便比较这两家公司?
- automation - 我可以用什么来使用 cypress 与本网站上的搜索栏进行交互
- numpy - 如何加载和重用以“.npy”格式保存的已保存嵌入
- python - 枚举整数列表并按索引访问列表值
- python - 通过 Twitch 用于桌面应用程序的 OAuth 2.0 授权令牌
- java - 使用 jsonpath 访问 json 值?
- css - @font-face 指向本地 URL 的链接不起作用
- sql-update - LARAVEL更新错误在null上调用成员函数update()