最新版本只要有一点错误就报错,而且错误定位很难,错误如下

good5tea

截图

Error: Call to a member function error() on null in /data/wwwroot/admin/vendor/workerman/webman-framework/src/Exception/ExceptionHandler.php:65 Stack trace: #0 /data/wwwroot/admin/support/exception/Handler.php(33): Webman\Exception\ExceptionHandler->report(Object(Error)) #1 /data/wwwroot/admin/vendor/workerman/webman-framework/src/App.php(204): support\exception\Handler->report(Object(Error)) #2 /data/wwwroot/admin/vendor/workerman/webman-framework/src/App.php(181): Webman\App::exceptionResponse(Object(Error), Object(support\Request)) #3 /data/wwwroot/admin/vendor/workerman/workerman/Connection/TcpConnection.php(637): Webman\App->onMessage(Object(Workerman\Connection\TcpConnection), Object(support\Request)) #4 /data/wwwroot/admin/vendor/workerman/workerman/Events/Select.php(293): Workerman\Connection\TcpConnection->baseRead(Resource id #184) #5 /data/wwwroot/admin/vendor/workerman/workerman/Worker.php(2430): Workerman\Events\Select->loop() #6 /data/wwwroot/admin/vendor/workerman/workerman/Worker.php(1554): Workerman\Worker->run() #7 /data/wwwroot/admin/vendor/workerman/workerman/Worker.php(1384): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker)) #8 /data/wwwroot/admin/vendor/workerman/workerman/Worker.php(1358): Workerman\Worker::forkWorkersForLinux() #9 /data/wwwroot/admin/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers() #10 /data/wwwroot/admin/start.php(156): Workerman\Worker::runAll() #11 {main}

1830 1 0
1个回答

weijer

monolog/monolog 组件没装么

  • good5tea 2021-05-08

    我重新安装了下项目好了,也不知道,怎么的就不行

年代过于久远,无法发表回答
×
🔝