Skip to content
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

Redis::zRangeByScore() expects at most 4 parameters, 6 given #32

Open
serker72 opened this issue May 22, 2019 · 3 comments
Open

Redis::zRangeByScore() expects at most 4 parameters, 6 given #32

serker72 opened this issue May 22, 2019 · 3 comments

Comments

@serker72
Copy link

yiic rresque startrecurring
PHP Error[2]: Redis::zRangeByScore() expects at most 4 parameters, 6 given
in file /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/Credis/Client.php at line 608
#0 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/Credis/Client.php(608): Redis->zRangeByScore()
#1 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/Resque/Redis.php(148): Credis_Client->__call()
#2 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/ResqueScheduler.php(246): Resque_Redis->__call()
#3 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/ResqueScheduler/Worker.php(58): nextDelayedTimestamp()
#4 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/lib/ResqueScheduler/Worker.php(43): ResqueScheduler_Worker->handleDelayedItems()
#5 /var/www/projects/rezidenttaxi.loc/protected/components/yii-resque/bin/resque-scheduler(110): ResqueScheduler_Worker->work()

@jorgegalviscardenas
Copy link

I have the same problem :(

@jorgegalviscardenas
Copy link

Copy content from Client.php https://github.com/colinmollenhour/credis to yii-resque/components/yii-resque/lib/Credis/Client.php

@serker72
Copy link
Author

Thank you, problem solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants