think-orm 读取 mongo 数据时,webman/log报错
#18 {main}Error: Call to undefined method think\db\connector\Mongo::getPdo() in /www/vendor/webman/log/src/Middleware.php:275
Stack trace:
#0 /www/vendor/webman/log/src/Middleware.php(101): Webman\Log\Middleware->checkTpUncommittedTransaction()
#1 /www/vendor/workerman/webman-framework/src/App.php(311): Webman\Log\Middleware->process()
#2 /www/app/middleware/AccessControl.php(27): Webman\App::Webman\{closure}()
#3 /www/vendor/workerman/webman-framework/src/App.php(311): app\middleware\AccessControl->process()
#4 /www/vendor/workerman/webman-framework/src/App.php(535): Webman\App::Webman\{closure}()
#5 /www/vendor/workerman/webman-framework/src/App.php(129): Webman\App::findRoute()
#6 /www/vendor/workerman/workerman/Connection/TcpConnection.php(646): Webman\App->onMessage()
#7 [internal function]: Workerman\Connection\TcpConnection->baseRead()
#8 /www/vendor/workerman/workerman/Events/Event.php(193): EventBase->loop()
#9 /www/vendor/workerman/workerman/Worker.php(2467): Workerman\Events\Event->loop()
#10 /www/vendor/workerman/workerman/Worker.php(1578): Workerman\Worker->run()
#11 /www/vendor/workerman/workerman/Worker.php(1420): Workerman\Worker::forkOneWorkerForLinux()
#12 /www/vendor/workerman/workerman/Worker.php(1394): Workerman\Worker::forkWorkersForLinux()
#13 /www/vendor/workerman/workerman/Worker.php(1724): Workerman\Worker::forkWorkers()
#14 /www/vendor/workerman/workerman/Worker.php(1664): Workerman\Worker::monitorWorkersForLinux()
#15 /www/vendor/workerman/workerman/Worker.php(562): Workerman\Worker::monitorWorkers()
#16 /www/vendor/workerman/webman-framework/src/support/App.php(124): Workerman\Worker::runAll()
#17 /www/start.php(4): support\App::run()
#18 {main}
升级webman/log
composer require webman/log ^v1.1.5
升级后,问题解决,谢谢