我正在努力从Ubuntu 14迁移到16和php 5.5到7.当我试图打开我的应用程序时,我一直遇到ErrorHandler致命错误。有谁知道解决这个问题的快捷方法?
ubuntu@dev2:/var/www/xyz$ php app/console
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Debug\ErrorHandler::handleException() must be an instance of Exception, instance of Error given in /var/www/xyz/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php:436
Stack trace:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleException(Object(Error))
#1 {main}
thrown in /var/www/xyz/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php on line 436