Magento-2:Class Magento\Framework\App\Http\Interceptor does not exist

Magento-2:Class Magento\Framework\App\Http\Interceptor does not exist

Exception.log file Error:

{"exception":"[object] (ReflectionException(code: -1): Class Magento\Framework\App\Http\Interceptor does not exist

问题在于: Need to recreate Interceptor

执行下面命令:

php bin/magento setup:di:compile

注意这个过程当中出现下面错误:

Allowed memory size of 134217728 bytes exhausted

需要修改php.ini的配置文件,设置如下操作:

memory_limit = 2G
max_execution_time = 1800
zlib.output_compression = On

修改之后。重新php ,然后再执行操作,结果如下:

参考链接:

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注