2014-02-23 29 views
0

我使用:FatalErrorException:錯誤:類 '象牙 GoogleMap的地點 AutocompleteComponentRestriction' 未找到

  • symfony的2.3
  • 「egeloen /谷歌地圖束」: 「〜2.1」

我想實現的Autocomplete form type的例子,但我得到了FatalErrorException:錯誤:類「象牙\ GoogleMap的\地方\ AutocompleteComponentRestriction」未找到。我檢查了AutocompleteComponentRestriction類是否退出,但事實並非如此。

那麼,我應該安裝哪個版本的軟件包?

謝謝

+0

你已經註冊捆在'AppKernel.php'文件:

的問題是通過選擇更穩定的版本,解決了嗎?包是否正確安裝? –

+0

是的,我已經註冊了! –

回答

0

我找到了解決方案!

該問題是由我安裝的版本引起的。

{ 
    "require": { 
    "egeloen/google-map": "[email protected]", 
    "egeloen/google-map-bundle": "[email protected]" 
    } 
} 
相關問題