0
Sonta Admin FrontendとSonata_Form_Collectionでマルチプル画像をアップロードします。Symfony3、Doctrine 2、Sonata Admin Bundleによる画像アップロードの問題
アップロードはログに次のエラーである。また、
:ここに私のキャンプ場エンティティ
[2017-06-24 13:06:19] request.CRITICAL: Uncaught PHP Exception Symfony\Component\PropertyAccess\Exception\InvalidArgumentException: "Expected argument of type "AppBundle\Entity\Picture", "array" given" at /Users/Christian/Sites/zeltplatz/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php line 275 {"exception":"[object] (Symfony\\Component\\PropertyAccess\\Exception\\InvalidArgumentException(code: 0): Expected argument of type \"AppBundle\\Entity\\Picture\", \"array\" given at /Users/Christian/Sites/zeltplatz/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:275)"} []
:
とマイピクチャエンティティ私のソナタキャンプグランド・管理:
とソナタピクチャー管理者:
の目標は、私はキャンプ場のために複数の画像を保存することができるということです。あなたは、データ型に問題があるのフィードバックやアイデアここ