Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adeliom\EasyMediaBundle\Service\EasyMediaManager::__construct(): Argument #1 ($filesystem) must be of type League\Flysystem\FilesystemOperator, League\Flysystem\Local\LocalFilesystemAdapter given, called in /var/www/html/francois-rouan/var/cache/dev/ContainerKp7v7sX/getEasyMedia_ManagerService.php on line 34 #33

Open
ak85ie1d5 opened this issue Jan 14, 2024 · 2 comments

Comments

@ak85ie1d5
Copy link

After installation of this package, I have the following error during symfony cache:clear and anywhere in front

Adeliom\EasyMediaBundle\Service\EasyMediaManager::__construct(): Argument #1 ($filesystem) must be of type League\Flysystem\FilesystemOperator, League\Flysystem\Local\LocalFilesystemAdapter given, called in /var/www/html/francois-rouan/var/cache/dev/ContainerKp7v7sX/getEasyMedia_ManagerService.php on line 34

My config is :
PHP 8.2
Apache2
Symfony 6.4 LTS

@mervit
Copy link

mervit commented Jan 21, 2024

I dont know if this is right solution, but i commented "storage_name"configuration in "easy_media" section and iam using default flysystem configuration and errr disapears.

config/packages/easy_media.yaml

easy_media:
#  storage_name: flysystem.adapter.medias.storage

@ak85ie1d5
Copy link
Author

It works! Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants