artgris / FileManagerBundle

FileManager is a simple Multilingual File Manager Bundle for Symfony
MIT License
171 stars 89 forks source link

Upload File throw ServiceNotFoundException #72

Closed Stoufiler closed 4 years ago

Stoufiler commented 4 years ago

Hello,

I've installed and configured the bundle, but got an error when I want to upload a file, the file is well uploaded but i got an error like this

Service "translator" not found: even though it exists in the app's container, the container inside "Artgris\Bundle\FileManagerBundle\Controller\ManagerController" is a smaller service locator that only knows about the "doctrine", "form.factory", "http_kernel", "parameter_bag", "request_stack", "router", "security.authorization_checker", "security.csrf.token_manager", "security.token_storage", "serializer", "session" and "twig" services. Try using dependency injection instead.

All the bundle is well translated in French in my case but when the upload failed it's written in English File Upload Failed

Thank in advance