-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: job #60
Comments
seems problem is here
in VladimirYuldashev\LaravelQueueRabbitMQ\Queue\Jobs\RabbitMQJob, so maybe can be some kind of situations with wrong message content and maybe you can add some checker |
Cannot replay the issue. It works for me. Can you provide examples? |
trying to catch it near 2 weeks already , I use standard facades for queue in laravel but there is some strange situation when the record in queue is blank , will try to catch again , if will be lucky will paste here, thanks for feedback |
Got the same issues with the I'm using: |
FYI... we're seeing this error randomly as well, we're using redis. |
@hillelcoren How does applies to this driver? |
@adrenth Try to catch the exception and provide stack trace, please. |
The problem may be with Laravel rather than this specific driver. |
You can see a stack here: laravel/framework#9555 |
I did not get this kind of error for about 3 years using this driver in production. @hillelcoren Yeah, @cabloo answered there
May be this is the issue? |
Thanks, we tracked down the problem. There was an error processing the job payload. |
@hillelcoren Hi,Can you say when this happens? I also encountered this problem, did not find a way to reproduce |
In our case the job payload was failing to be decoded. |
Did you solve it? How to solve it? @hillelcoren |
We fixed it by removing data from the job payload, in our case it was a raw PDF file which caused problems. |
all right,i also fixed it by removing data from the job payload ,thanks |
I avoided serialization errors by removing some of the instantiation of problem code from the job's |
exception 'ErrorException' with message 'Undefined index: job' in /var/www/api-v1.gdmfx.com/httpdocs/vendor/vladimir-yuldashev/laravel-queue-rabbitmq/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php:96
got too many of this errors, got same when used redis as queue, but on laravel site developers told that it can be in case of cross match between cache and queue jobs. What the problem is here maybe laravel side again?
I used this versions
"laravel/framework": "5.1.*",
"vladimir-yuldashev/laravel-queue-rabbitmq": "5.1",
Thanks!
The text was updated successfully, but these errors were encountered: