我尝试安装现有项目,

当我尝试执行时: php composer.phar install => 我收到此错误,

[Symfony \ Component \ Debug \ Exception \ ContextErrorException]警告:trim()期望参数1为字符串,给定脚本的数组Sensio \ Bundle \ DistributionBundle \ Composer \ ScriptHandler :: clearCache处理post-install-cmd事件终止于exception [RuntimeException]执行“”cache:clear --no-warmup“”命令时发生错误 .