2016-12-23 38 views
0

我不能清除與命令行的緩存,因此已決定手動清除緩存,但是當我刷新我有以下錯誤頁面:錯誤手動[Symfony2中]

RuntimeException in C:\xampp\htdocs\Symfony\vendor\symfony\symfony\src\Symfony\Component\Debug\DebugClassLoader.php line 258: The autoloader expected class "Http\Message\Formatter" to be defined in file "C:\xampp\htdocs\Symfony\vendor\composer/../php-http/message/src\Formatter.php". The file was found but the class was not in it, the class name or namespace probably has a typo.

我試圖運行這個命令php app/console cache:warmup但仍然有相同的錯誤。

回答

0

我只是在我的composer.json刪除這兩個捆綁解決這個問題:

"egeloen/google-map-bundle": "dev-master", 
    "php-http/httplug-bundle": "1.3.0", 

,我跑composer update

我想從PHP-HTTP/httplug束,但我的問題就來了不知道爲什麼...