Prestashop 1.7.4.4 管理 500 错误,仅适用于开发模式

Prestashop 1.7.4.4 administration 500 error, work only with dev mode on

几天前,我遇到了 Prestashop 管理的有线问题。 当我尝试打开该页面时,它无法正常工作。

然后为了理解为什么,我打开 _PS_MODE_DEV_ 并且......它工作得很好!

我将 Prestashop 升级到 1.7.5,但仍然有同样的问题

现在我无法在生产中使用 _PS_MODE_DEV_ 或在需要进行管理时切换。

我尝试检查服务器和 PHP 日志,但没有任何报告。

发生了什么事?我该如何解决?

这是一些信息:

server Info Linux #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64
Server software: Apache
PHP Version: 7.2.10-0ubuntu0.18.04.1
Memory limit: 240M
Max execution time: 360
Max upload files: 128M

提前致谢

当您遇到此类问题时,最好的解决办法是移除缓存:

在 Prestashop 1.6 上:删除缓存/smarty/缓存和缓存/smarty/编译文件夹的内容

在 Prestashop 1.7 上:删除 var/cache 文件夹

此致,