yii2-queue
yii2-queue copied to clipboard
bug A non-numeric value encountered in vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php:107
enviroment: PHP7, yii2 basic. I config "redis" to using as queue. In file: config/console and config/web 'redis' => [ 'class' => 'yii\redis\Connection', 'hostname' => '192.168.146.252', 'port' => 8002, 'database' => 0, 'password' => '123456a@', ], 'queue' => [ 'class' => \yii\queue\redis\Queue::class, 'redis' => 'redis', // Redis connection component or its config 'channel' => 'queue', // Queue channel key ], After I run: php yii queue/listen I see "A non-numeric value encountered in vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php:107"
https://github.com/yiisoft/yii2-queue/blob/2.0.2/src/drivers/redis/Queue.php#L107 This is comment block. What version are you using? Need more details about the error.
Thanks for posting in our issue tracker. In order to properly assist you, we need additional information:
- When does the issue occur?
- What do you see?
- What was the expected result?
- Can you supply us with a stacktrace? (optional)
- Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional)
Thanks!
This is an automated comment, triggered by adding the label status:need more info.
It has been 2 or more weeks with no response on our request for more information. In order for our issue tracker to be effective, we are closing this issue.
If you want it to be reopened again, feel free to supply us with the requested information.
Thanks!
This is an automated comment, triggered by adding the label expired.
I have same issue
https://github.com/yiisoft/yii2-queue/blob/c9ba0cbafd1f0678d0950ba247b17cd99dfbf31a/src/drivers/redis/Queue.php#L153
$ttr is not numeric sometimes
Any idea when/why?
for some reason payload is empty
We should not assume incorrect payload could be processed...
aaaaaand now I cannot reproduce it the way I literally could reproduce it 100% of the time an hour back....