AppDevDebBugProjectContainer.php第1606行中的UndefinedMethodException
我对我在这里所做的有些迷茫。我的应用程序运行了一段时间,在某个时候我更改了导致此错误的某些内容。我已经清除了我的开发缓存。在某个时刻,我想知道我是否更新了我的composer并导致了一些事情,因为当我打破它时,我甚至没有触摸我的应用程序的php端 以下是全部错误:AppDevDebBugProjectContainer.php第1606行中的UndefinedMethodException,php,symfony,Php,Symfony,我对我在这里所做的有些迷茫。我的应用程序运行了一段时间,在某个时候我更改了导致此错误的某些内容。我已经清除了我的开发缓存。在某个时刻,我想知道我是否更新了我的composer并导致了一些事情,因为当我打破它时,我甚至没有触摸我的应用程序的php端 以下是全部错误: UndefinedMethodException in appDevDebugProjectContainer.php line 1606: Attempted to call an undefined method named "A
UndefinedMethodException in appDevDebugProjectContainer.php line 1606:
Attempted to call an undefined method named "AddAthlete" of class "FOS\RestBundle\Util\FormatNegotiator".
该特定函数如下所示:
protected function getFosRest_ExceptionFormatNegotiatorService()
{
$this->services['fos_rest.exception_format_negotiator'] = $instance = new \FOS\RestBundle\Util\FormatNegotiator();
$instance->AddAthlete($this->get('fos_rest.request_matcher.0dfc4cce134bee15f08405cb5cea4845b13ff7d8c8f779004218432a2c552bd0cd9f9d27'), array('priorities' => array(0 => 'html', 1 => 'json', 2 => 'xml'), 'fallback_format' => NULL, 'prefer_extension' => '2.0', 'methods' => NULL, 'stop' => false));
return $instance;
}
我不太熟悉这是如何产生的。有人能帮忙吗?如果需要,这是我在github上的捆绑包,我一定有一些编写器问题,因为当我把repo拉到我的另一台机器上时,它工作得很好(除了新的bug,耶!)结果我一定有一些编写器问题,因为当我把repo拉到我的另一台机器上时,它工作得很好(除了新的bug,耶!)