当我在命令下运行时,过程就好了:
php artisan queue:work
但是当 supervisorctl 进程在实时服务器上运行时。队列工作者收到错误。
Trying to access array offset on value of type null at */vendor/laravel/framework/src/Illuminate/Queue/QueueManager.php:156
配置对我来说似乎是正确的,因为队列在运行时工作php artisan queue:work
。由于某种原因,在 supervisorctl 进程运行时队列驱动程序不会加载。
知道为什么会发生这种情况吗?谢谢 :)