0

when

php bin/magento setup:di:compile

display

PHP Fatal error:  Uncaught Error: Interface 'League\Flysystem\FilesystemAdapter' not found in /home/magento2-dev/public_html/app/code/Magento/RemoteStorage/Driver/Adapter/CachedAdapterInterface.php:15

How to do

1 Answer 1

1

Take a look at both your app/code/ and vendor/ directories, do you see any module named Flysystem under League vendor name?

In case you do - module League_Flysystem does exist in your project, maybe try this solution.

Otherwise, you might need to pull the particular module to your project, preferably using Composer:

composer require league/flysystem

Then check your vendor/ directory and execute command DI compile command again.

Happy coding!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.