think queue:listen windows异常


 

 

 

 

E:\php think queue:listen


  [think\exception\ErrorException]
  count(): Parameter must be an array or an object that implements Countable


Fatal error: Uncaught think\exception\ErrorException: count(): Parameter must be an array or an object that implements Countable in 

thinkphp\library\think\process\pipes\Windows.php on line 199


 /**
     * 写入到 stdin 输入
     * @param bool $blocking
     * @param bool $close
     */
    private function write($blocking, $close)
    {
        if (empty($this->pipes)) {
            return;
        }

        $this->unblock();

        //$r = null !== $this->input ? ['input' => $this->input] : null;
        $r = null !== $this->input ? ['input' => $this->input] :  [];
        $w = isset($this->pipes[0]) ? [$this->pipes[0]] : null;

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM