本地安装用的phpstudy,Apache2.4.39和Nginx1.15.11都试了,报同样的错误。
Fatal error: Uncaught Error: Class 'Whoops\Run' not found in D:\phpstudy_pro\WWW\jianzhi\src\Initializer\ErrorHandler.php:185 Stack trace: #0 D:\phpstudy_pro\WWW\jianzhi\src\Initializer\ErrorHandler.php(55): MDClub\Initializer\ErrorHandler->handleUndefinedException(Object(PDOException)) #1 D:\phpstudy_pro\WWW\jianzhi\src\Initializer\Error.php(30): MDClub\Initializer\ErrorHandler->__construct(Object(PDOException)) #2 [internal function]: MDClub\Initializer\Error->appException(Object(PDOException)) #3 {main} thrown in D:\phpstudy_pro\WWW\jianzhi\src\Initializer\ErrorHandler.php on line 185
Fatal error: Uncaught Error: Wrong parameters for ErrorException([string $message [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Throwable $previous = NULL]]]]]]) in D:\phpstudy_pro\WWW\jianzhi\src\Initializer\Error.php:52 Stack trace: #0 D:\phpstudy_pro\WWW\jianzhi\src\Initializer\Error.php(52): ErrorException->__construct(NULL, NULL, 0, NULL, NULL) #1 [internal function]: MDClub\Initializer\Error->appShutdown() #2 {main} thrown in D:\phpstudy_pro\WWW\jianzhi\src\Initializer\Error.php on line 52
目前群里有三个人遇到这个问题啦!