每次启动或者停止都报下面错,日志里也没有
[root@DJYun-Server-01 GWorker]# php start.php start
PHP Warning: foreach() argument must be of type array|object, int given in /data/wwwroot/GWorker/vendor/workerman/webman-framework/src/support/App.php on line 129
Warning: foreach() argument must be of type array|object, int given in /data/wwwroot/GWorker/vendor/workerman/webman-framework/src/support/App.php on line 129
Workerman[start.php] start in DEBUG mode
-------------------------------------------------------------- WORKERMAN --------------------------------------------------------------
Workerman/5.1.3 PHP/8.2.14 (JIT off) Linux/5.10.134-19.1.al8.x86_64
--------------------------------------------------------------- WORKERS ---------------------------------------------------------------
event-loop proto user worker listen count state
event tcp root plugin.webman.gateway-worker.json json://0.0.0.0:8271 2 [OK]
event tcp root plugin.webman.gateway-worker.websocket websocket://0.0.0.0:8272 2 [OK]
event tcp root plugin.webman.gateway-worker.devWss websocket://0.0.0.0:7272 2 [OK]
event tcp root plugin.webman.gateway-worker.miniWss websocket://0.0.0.0:7273 2 [OK]
event tcp root plugin.webman.gateway-worker.hex hex://0.0.0.0:8575 2 [OK]
event tcp root plugin.webman.gateway-worker.udp udp://0.0.0.0:8576 2 [OK]
event tcp root plugin.webman.gateway-worker.mqtt mqtt://0.0.0.0:8273 2 [OK]
event tcp root plugin.webman.gateway-worker.worker none 16 [OK]
event tcp root plugin.webman.gateway-worker.register text://10.0.1.2:2236 1 [OK]
----------------------------------------------------------------------------------------------------------------------------------
linux
webman-framework/src/support/App.php的129-131行代码, 自己看下config,process的配置吧