Closed llb0536 closed 10 years ago
I don't quite understand your issue.
Where do you see the error ? In the logs ? When ? queuing or processing jobs ?
I think he's referring to an error in redisent.php where an array is passed instead a string and it trows an error. I get this error when I try to schedule a job:
Warning Error: strlen() expects parameter 1 to be string, array given in [{path to app}/Plugin/CakeResque/vendor/kamisama/php-resque-ex/lib/Redisent/Redisent.php, line 148]
Notice Error: Array to string conversion in [{path to app}/Plugin/CakeResque/vendor/kamisama/php-resque-ex/lib/Redisent/Redisent.php, line 148]
maybe he's getting the same error.
It happens when I try to schedule a Job as "CakeResque::enqueueAt" and "CakeResque::enqueueIn"
I see. I'm currently working on re-merging php-resque-ex into its original parent, so there'll be no more update on that side.
Does this means that CakeResque will use the original php-resque-ex instead of a custom one?¿
Yes
Nice, thanks.
in this repository, it has use the php-resque-ex. But it will meet a error while using Scheduler.
Error From: php-resque-ex Redisent line 73 the $args in this line is not quite structured. Error occur when use
redis command ZRANGEBYSCORE
.The $args should be flatten to generate a proper redis protocol command.