在家测试没问题的,带着代码到公司的环境就报错了...
环境哪里出了问题啊?
composer 用的都是国内镜像
xampp的php7.2环境
php think queue:listen
[think\exception\ErrorException]
count(): Parameter must be an array or an ob
PHP Fatal error: Uncaught think\exception\ErrorException: count(): Parameter must be an array or an ob
pp\htdocs\tp52\thinkphp\library\think\process\pipes\Windows.php:199
Stack trace:
#0 [internal function]: think\Error::appError(2, 'count(): Parame...', 'D:\\soft\\xampp\\h...', 199, Array)
#1 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\process\pipes\Windows.php(199): count(NULL)
#2 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\process\pipes\Windows.php(97): think\process\pipes\Windows->write(false, false)
#3 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\Process.php(1079): think\process\pipes\Windows->readAndWrite(false, false)
#4 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\Process.php(1027): think\Process->readPipes(false, false)
#5 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\Process.php(578): think\Process->updateStatus(false)
#6 D:\soft\xampp\htdocs\tp52\thinkphp\library\think\Process.php(619): think\Process->isRunning()
#7 D:\soft\xampp\htdocs\tp52\thinkphp\ in D:\soft\xampp\htdocs\tp52\thinkphp\library\think\process\pipes\Windows.php on line 199
寻求大神帮助....
最佳答案