ckfinder/ckfinder-symfony-bundle

MimesTypes and Symfony 5

AltumSonatur opened this issue · 1 comments

Hi everyone,

Since I migrated from SF4 to SF5, i can't upload any file because :

Attempted to load class "MimeTypes" from namespace "Symfony\Component\Mime".
Did you forget a "use" statement for another namespace?

I had to run composer require symfony/mime in my Symfony project, but I think this should be required in the composer.json of the bundle instead.

pboko commented

I confirm : the Mime component should be a dependency of your bundle