Yii version 2.0.10 reports an error when using clientList for Redis in yii queue version 2.0.0
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.1k
- Forks
- 285
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
In Yii2.0.10, the yii-queue used is version 2.0.0
The getWorkersInfo method in the directory yii2 queue/src/drivers/redis/InfoAction.php will generate an abnormal error message with $data=$this ->queue ->redis ->clientList(), as shown in the following figure

Redis version is over 5.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in yii2-queue/src/drivers/redis/InfoAction.php and inspect getWorkersInfo, especially the clientList() call. Reproduce the reported error with Yii 2.0.10, yii-queue 2.0.0, and a Redis version over 5.7, then compare the returned data and error output. Done means getWorkersInfo no longer produces the reported abnormal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, redis
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100