Jobs stuck in queue "$xxx must not be accessed before initialization "

Hi there,

I’m running v5.10.27-W164, self hosted.

I noticed that there were some pending and failed jobs in the queue via the health check.

Upon re-queuing failures with php artisan queue: retry all and then running the queue with php artisan queue:work, I was able to log these particular jobs are failing. I get multiple “$xxx must not be accessed before initialization” in the laravel log.

Here is a list of the jobs, and I’ve attached the laravel log below.
image



Please provide clarification on what’s happening and whether a Github issue needs to be raised.

Running php 8.3.
laravel.txt (142.0 KB)

Hi,

I’m not familiar with this error, you may want to follow up on GitHub.

I recently had this same error. I’ve never seen it before. However, running php artisan queue:restart resolved the problem.