🐛 | Media Contextual Crop API | Incompatibility with S3fs: MediaContextualCropService constructor expects FileSystem, receives S3fsFileSystem
Hi,
In my use on a D10.4.5 project, I also get an error even though I specify FileSystemInterface in MediaContextualCropService::__construct() for $file_system
TypeError : Drupal\media_contextual_crop\MediaContextualCropService::__construct(): Argument #2 ($file_system) must be of type Drupal\media_contextual_crop\FileSystemInterface, Drupal\s3fs\S3fsFileSystemD103 given, called in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 dans Drupal\media_contextual_crop\MediaContextualCropService->__construct() (ligne 105 de /app/web/modules/contrib/media_contextual_crop/src/MediaContextualCropService.php).