Problem/Motivation

TypeError: Drupal\printable_pdf\Plugin\PrintableFormat\PdfFormat::__construct(): Argument #10 ($public_stream) must be of type Drupal\Core\StreamWrapper\PublicStream, Drupal\s3fs\StreamWrapper\PublicS3fsStream given, called in /var/www/drupal/web/modules/contrib/printable/modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php on line 187 in Drupal\printable_pdf\Plugin\PrintableFormat\PdfFormat->__construct() (line 120 of modules/contrib/printable/modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php).

Issue fork printable-3317347

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ThirstySix created an issue. See original summary.

kapil.purohit’s picture

Below patch to fix this issue. tested and verified successfully... All the best!

kapil.purohit’s picture

StatusFileSize
new2.65 KB
bluegeek9’s picture

Title: PdfFormat::__construct(): Argument #10 ($public_stream) must be of type Drupal\Core\StreamWrapper\PublicStream, Drupal\s3fs\StreamWrapper\PublicS3fsStream » Use interfaces for PdfFormat::__construct()
Issue summary: View changes
Status: Active » Reviewed & tested by the community
Related issues: +#3194744: AliasManagerInterface InlineLinkExtractor::__construct()

Nigel Cunningham made their first commit to this issue’s fork.

nigelcunningham’s picture

Status: Reviewed & tested by the community » Fixed

Merged; thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kapil.purohit’s picture