Fatal error: Uncaught RuntimeException: Invalid mode provided in /home/users/cedrobsa/public_html/cedrob_new/vendor/reborn/media-bundle/Provider/FileProvider.php:304 Stack trace: #0 /home/users/cedrobsa/public_html/cedrob_new/src/AppBundle/Controller/Multimedia/DownloadController.php(82): Reborn\MediaBundle\Provider\FileProvider->getDownloadResponse(Object(Reborn\MediaBundle\Entity\Media), 'reference', NULL) #1 /home/users/cedrobsa/public_html/cedrob_new/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): AppBundle\Controller\Multimedia\DownloadController->downloadMediaAction('0d1c04cffd1b048...', 'reference') #2 /home/users/cedrobsa/public_html/cedrob_new/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Sonata\PageBundle\Request\SiteRequest), 1) #3 /home/users/cedrobsa/public_html/cedrob_new/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(200): Symfony\Component\HttpKernel\HttpKernel->handle(Ob in /home/users/cedrobsa/public_html/cedrob_new/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 205