2015-07-11 80 views
0

我安裝奏鳴曲管理員束在文件 煤礦問題給予就是我在清除緩存錯誤奏鳴曲媒體捆綁


運行公告收到此錯誤render()應該與Symfony \ Bundle \ FrameworkBundle \ Controller \ Controller :: render兼容($ view,array $ parameters = Array,Symfony \ Component \ HttpFoundation \ Response $ response = NULL)

這是我的作曲家。 json req

"php": ">=5.3.9", 
    "symfony/symfony": "2.7.*", 
    "doctrine/orm": "~2.2,>=2.2.3,<2.5", 
    "doctrine/dbal": "<2.5", 
    "doctrine/doctrine-bundle": "~1.4", 
    "symfony/assetic-bundle": "~2.3", 
    "symfony/swiftmailer-bundle": "~2.3", 
    "symfony/monolog-bundle": "~2.4", 
    "sensio/distribution-bundle": "~4.0", 
    "sensio/framework-extra-bundle": "~3.0,>=3.0.2", 
    "incenteev/composer-parameter-handler": "~2.0", 

    "sonata-project/admin-bundle": "2.4.x-dev", 
    "sonata-project/doctrine-orm-admin-bundle": "2.4.*@dev", 
    "sonata-project/datagrid-bundle": "2.2.*@dev", 
    "sonata-project/user-bundle": "2.3.*@dev", 
    "sonata-project/formatter-bundle": "2.3.*@stable", 
    "jms/serializer-bundle": "~0.11", 

    "doctrine/doctrine-fixtures-bundle": "~2.2", 
    "stof/doctrine-extensions-bundle": "dev-master", 

    "egeloen/ckeditor-bundle": "~2.0", 
    "sonata-project/media-bundle": "2.3.2" 

我累了一切,但仍然不知道爲什麼我收到此錯誤,請幫我

回答

1

您正在使用奏鳴曲媒體2.3奏鳴曲管理2.4:github issue

更改所有參考2.4 VERSON至2.3。你可以設置例如:~2.3.0

+0

它的工作&從下次我會花更多時間在配置文件 –