当我更新composer.phar时,我得到了以下错误...
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "gaufrette" under "vich_uploader"
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.这是我的Vich Uploader配置
vich_uploader:
db_driver: orm
gaufrette: true
storage: vich_uploader.storage.gaufrette我得到了这个错误...
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "gaufrette" under "vich_uploader"请告诉我为什么会这样?
发布于 2014-12-17 14:22:46
检查您的config.yml的缩进,选项"gaufrette“不在"vich_uploader”下,而是作为存储值,例如:
vich_uploader:
db_driver: orm
storage: gaufrette有关详细信息,请访问See the doc
希望这对你有所帮助
https://stackoverflow.com/questions/27518594
复制相似问题