I pushed a patch trying to catch such situation. If you are not sure that the cmd parameter has or not `%s` or `%b`, then you should use the redis_cmd with more params, like:
``` redis_cmd(..., "SETEX %s 21600 %s", "SETEX ACTIVECHANNELS_$ci", "$vn(variable2)", ...); ```