Undefined array key 2 in file /Users/xxx/www/mes-from-laravel-edge/laraman on line 20
laraman v2.0.0 beta
-------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.1.13 PHP version:8.1.22 Event-Loop:\Workerman\Events\Select
--------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
tcp xxx web http://127.0.0.1:8000 16 [OK]
tcp xxx monitor none 1 [OK]
Press Ctrl+C to stop. Start success.
Undefined array key "00000000000000040000000000000000" in file /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php on line 1657
发生异常:array_search(): Argument #2 ($haystack) must be of type array, null given
异常代码:0
异常文件:/Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php
异常行号:1657
异常追踪:#0 /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php(1657): array_search(0, NULL)
Undefined array key 2 in file /Users/xxx/www/mes-from-laravel-edge/laraman on line 20 laraman v2.0.0 beta -------------------------------------------- WORKERMAN -------------------------------------------- Workerman version:4.1.13 PHP version:8.1.22 Event-Loop:\Workerman\Events\Select --------------------------------------------- WORKERS --------------------------------------------- proto user worker listen processes status tcp xxx web http://127.0.0.1:8000 16 [OK] tcp xxx monitor none 1 [OK]
Press Ctrl+C to stop. Start success. Undefined array key "00000000000000040000000000000000" in file /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php on line 1657 发生异常:array_search(): Argument #2 ($haystack) must be of type array, null given 异常代码:0 异常文件:/Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php 异常行号:1657 异常追踪:#0 /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php(1657): array_search(0, NULL)
1 /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php(1584): Workerman\Worker::getId('000000000000000...', 0)
2 /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php(1426): Workerman\Worker::forkOneWorkerForLinux(Object(Itinysun\Laraman\Server\LaramanWorker))
3 /Users/xxx/www/mes-from-laravel-edge/vendor/workerman/workerman/Worker.php(1400): Workerman\Worker::forkWorkersForLinux()
4 /Users/xxx/www/mes-from-laravel-edge/vendor/itinysun/laraman/src/Server/LaramanWorker.php(26): Workerman\Worker::forkWorkers()
5 /Users/xxx/www/mes-from-laravel-edge/vendor/itinysun/laraman/src/Command/Laraman.php(65): Itinysun\Laraman\Server\LaramanWorker::RunAll()
6 /Users/xxx/www/mes-from-laravel-edge/laraman(25): Itinysun\Laraman\Command\Laraman::run()
7 {main}
不是启动参数那里的问题