chrisboulton/php-resque — Issue #33: json_decode error in workers
Author: kballenegger
Created: 2011-12-23 13:22:50+00:00
State: open

Getting the following warning in the workers:

PHP Warning: json_decode() expects parameter 1 to be string, array given in /var/www/server/releases/20111223123758/vendor/resque/lib/Resque.php on line 85

Which seems to trace back to `Resident::__call`. Not sure what's going on there, and I don't know the internals of Redis enough to know why it's trying to json_decode a string rather than an array. Fwiw, jovs are added by doing `Resque::enqueue($queue, $class, $args);` where `$args` is always an array.

Thoughts?