ypeError: Drupal\pdf_serialization\PdfManager::__construct(): Argument #2 ($file_system) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileService given

Created on 25 April 2025, 15 days ago

Problem/Motivation

When I activate the s3fs module, my portal returns the following error:

TypeError: Drupal\pdf_serialization\PdfManager::__construct(): Argument #2 ($file_system) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileService given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\pdf_serialization\PdfManager->__construct() (line 37 of modules/contrib/pdf_serialization/src/PdfManager.php).

Proposed resolution

Change FileSystem by FileSystemInterface

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇪🇸Spain pmmto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024