【问题标题】:Magento 2 - Fatal error: Uncaught exception 'InvalidArgumentException'Magento 2 - 致命错误:未捕获的异常'InvalidArgumentException'
【发布时间】:2017-08-13 05:18:17
【问题描述】:

我正在将 magento2 项目部署到我的本地主机中。

下载所有文件和数据库后,我收到此错误:

致命错误:未捕获的异常 'InvalidArgumentException' 并带有消息 'Constant name is expected.'。在 D:\wamp64\www\zerofriction\vendor\magento\framework\Data\Argument\Interpreter\Constant.php 第 23 行 InvalidArgumentException:需要常量名称。在 D:\wamp64\www\zerofriction\vendor\magento\framework\Data\Argument\Interpreter\Constant.php 第 23 行

可能是什么问题?

【问题讨论】:

    标签: php magento magento2


    【解决方案1】:

    我在尝试禁用缓存时遇到了同样的致命错误,因为我一直在开发一个模块,然后我禁用了我的模块并且问题得到了解决。

    请查看以下链接, https://magento.stackexchange.com/a/124464/55865

    【讨论】:

      猜你喜欢
      • 2020-01-31
      • 2014-08-26
      • 2015-07-10
      • 2013-07-07
      • 2015-06-10
      • 2015-06-20
      • 2014-04-08
      • 1970-01-01
      相关资源
      最近更新 更多