Category: vichuploaderbundle

Unable to guess the MIME type as no guessers are available (have you enable the php_fileinfo extension?) | in Symfony 5.08

I got some error when i tried to upload image on easyadmin with vich_uploader. Unable to guess the MIME type as no guessers are available (have you enable the php_fileinfo extension?) I have enabled php_fileinfo extension but that didn’t solve…

ReflectionException: Class does not exist after upgrading Symfony

After upgrading my php version from 5.6 to 7.3 and upgrading Symfony from 3.4 to 4.4 I get an ReflectionException everytime I try to access my application on my localhost. ReflectionException: Class WaiverBundleFile does not exist at /srv/http/sp7/vendor/jms/metadata/src/MetadataFactory.php:170 at ReflectionClass->__construct(‘WaiverBundleFile’)…

VichUploaderBundle collection with easyadmin no db insert

I have problem with multiple upload files with: -sf 4.4 -easycorp/easyadmin-bundle “^2.3” -vich/uploader-bundle “^1.8” My entites class Offer { /** * * @var ArrayCollection * * @ORMManyToMany(targetEntity=”AppEntityImage”, cascade={“persist”, “remove”}, orphanRemoval=true) * @ORMJoinTable(name=”offer_photo”, * joinColumns={@ORMJoinColumn(name=”offer_id”, referencedColumnName=”id”)}, * inverseJoinColumns={@ORMJoinColumn(name=”file_id”, referencedColumnName=”id”, unique=true)} *…

VichUploaderBundle with symfony 4: no extension able to load the configuration for "mappings"

I’m trying to use VichUploaderBundle to handle a file upload. I work with symfony 4. I have a problem in the first step (Step 1: configure an upload mapping). in the app/config/config.yml file I have: vich_uploader: db_driver: orm mappings: property_image:…