执行“'cache:clear --no-warmup'”命令时发生错误

时间:2013-08-26 12:37:24

标签: symfony

[RuntimeException]                                                         
An error occurred when executing the "'cache:clear --no-warmup'" command. 

我想将symfony2.0项目升级到symfony 2.3。

https://github.com/symfony/symfony-standard/blob/v2.3.1/UPGRADE.md

我按照上面的一个来升级我的项目。但我面临以下错误

[RuntimeException]                                                         
An error occurred when executing the "'cache:clear --no-warmup'" command.  

2 个答案:

答案 0 :(得分:12)

运行sudo php composer.phar update --no-scripts

答案 1 :(得分:3)

我有同样的错误。我试着跑

php app/console

又出现了另一个错误。我修复了这个错误,然后我可以在没有这个非特定错误的情况下更新。

相关问题