Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 编写器更新错误_Php_Symfony - Fatal编程技术网

Php 编写器更新错误

Php 编写器更新错误,php,symfony,Php,Symfony,在更新composer时,我遇到以下错误。我读过另一个类似的问题,建议为php设置date.timezone。我已经这样做了,但错误并没有消除。我该怎么办 错误: [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Unrecognized option "role_heirarchy" under "security" Sc

在更新composer时,我遇到以下错误。我读过另一个类似的问题,建议为php设置date.timezone。我已经这样做了,但错误并没有消除。我该怎么办

错误:

  [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]  
  Unrecognized option "role_heirarchy" under "security"                          


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:  


    [Symfony\Component\Config\Definition\Exception\InvalidConfigurati        
  onException]                                                               
    Unrecognized option "role_heirarchy" under "security" 

您是否使用composer安装了fosuserbundle?composer require friendsofsymfony/user bundle是否存在:vendor/friendsofsymfony/user bundle/FOSUserBundle.php?
composer show-i | grep friendsofsymfony
,是否显示FOSUserBundle包?