göndermek Ben VichUploaderBundle ile bir resim yüklemek çalışıyorum ama formunda bu hata var:resim yükleme 2
Catchable Fatal Error: Argument 1 passed to PiCrowdRise\WebBundle\Entity\Probleme::setImageFile() must be an instance of Symfony\Component\HttpFoundation\File\File, string given, called in E:\wamp\www\PI\PI\vendor\symfony\symfony\src\Symfony\Component\PropertyAccess\PropertyAccessor.php on line 410 and defined
Setters and getters screenshot
Teşekkür Yardımlarınız için .
Lütfen kodunuzu doğrudan resim biçiminde değil, soruya ekleyin. –