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