count(): Parameter must be an array or an object that implements Countable
Created by: lala0257
采用redis,listen的时候报错
[think\exception\ErrorException]
count(): Parameter must be an array or an object that implements Countable
应该是不兼容php版本7.2的count
修改如下,看对不: if (is_array($jobs) && count($jobs) > 0) { }