PHP Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /www/wwwroot/chat-ob
ject/vendor/topthink/framework/src/think/console/output/driver/Console.php:203
Stack trace:
#0 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/output/driver/Console.php(203): proc_open()
#1 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/output/driver/Console.php(180): think\console\output\driver\Console->getSttyColumns()
#2 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/output/driver/Console.php(145): think\console\output\driver\Console->getTerminalDimensions()
#3 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/output/driver/Console.php(82): think\console\output\driver\Console->getTerminalWidth()
#4 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/Output.php(167): think\console\output\driver\Console->renderException()
#5 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/exception/Handle.php(126): think\console\Output->renderException()
#6 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/initializer/Error.php(56): think\exception\Handle->renderForConsole()
#7 /www/wwwroot/chat-object/vendor/topthink/framework/src/think/initializer/Error.php(91): think\initializer\Error->appException()
#8 [internal function]: think\initializer\Error->appShutdown()
#9 {main}
thrown in /www/wwwroot/chat-object/vendor/topthink/framework/src/think/console/output/driver/Console.php on line 203

开启websocket的事件时出现这样的问题 ,有遇到的童鞋没,帮忙解答下