安装magento2后出现PHP致命错误未捕获异常
我已经在linux centos7中安装了magento2。在访问网页时成功安装magento2后,出现以下内容为空的错误安装magento2后出现PHP致命错误未捕获异常,php,magento,magento2,centos7,Php,Magento,Magento2,Centos7,我已经在linux centos7中安装了magento2。在访问网页时成功安装magento2后,出现以下内容为空的错误 {{menuState.title}} PHP版本:7.1.3 OS:centos7 PHP fpm错误日志有以下错误 PHP Fatal error: Uncaught TypeError: Argument 1 passed to Zend_Controller_Plugin_Abstract::setResponse() must be an instance
{{menuState.title}}
PHP版本:7.1.3
OS:centos7
PHP fpm错误日志有以下错误
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Zend_Controller_Plugin_Abstract::setResponse() must be an instance of Zend_Controller_Response_Abstract, instance of Magento\Framework\HTTP\PhpEnvironment\Response given, called in /var/www/magento2/lib/internal/Magento/Framework/Profiler/Driver/Standard/Output/Firebug.php on line 61 and defined in /var/www/magento2/vendor/magento/zendframework1/library/Zend/Controller/Plugin/Abstract.php:70
Stack trace:
#0 /var/www/magento2/lib/internal/Magento/Framework/Profiler/Driver/Standard/Output/Firebug.php(61): Zend_Controller_Plugin_Abstract->setResponse(Object(Magento\Framework\HTTP\PhpEnvironment\Response))
#1 /var/www/magento2/lib/internal/Magento/Framework/Profiler/Driver/Standard.php(195): Magento\Framework\Profiler\Driver\Standard\Output\Firebug->display(Object(Magento\Framework\Profiler\Driver\Standard\Stat))
#2 [internal function]: Magento\Framework\Profiler\Driver\Standard->display()
#3 {main}
thrown in /var/www/magento2/vendor/magento/zendframework1/library/Zend/Controller/Plugin/Abstract.php on line 70
如何解决此错误?这是报告的Magento错误。。。 但是已经。。。 所以,来吧。。。 你更新了magento吗?目前的版本是什么 我在Magento的底部找到了以下信息: 你有这个选择。。。 临时修复程序是从dev branch安装symfony/yaml,然后安装我们的模块:
composer require symfony/yaml: dev-issue-814
编写器需要mirasvit/模块探查器 尝试使用/安装php7.2 请参阅此Magento项目参考>>> 请确保在执行上述步骤之前进行备份。。。 因为我不知道您当前Magento的正确版本,所以我寻找了其他解决方案 我希望它能帮助你 祝你好运!发送有关您的进度的消息