Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello Jacob and all guys involved,
I was trying to export PDFs using a Print Entity module but i failed. Drupa gave me following error statement
Error generating document: Missing dependencies. Please install with: composer require "dompdf/dompdf 0.8.0"
Do you have any easy / safe advice to fix this error?
Thank you.
_
I am running the latest Drupal 9.
Comment | File | Size | Author |
---|---|---|---|
missing-dependencies.png | 8.83 KB | johnfrm |
Comments
Comment #2
johnfrm CreditAttribution: johnfrm commentedComment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedYou need to configure the Entity Print module and a PDF engine.
@see https://www.drupal.org/node/2806211
Comment #4
johnfrm CreditAttribution: johnfrm commentedhere's more detailed error message to this issue I forgot to post:
unfortunately that guide is not very user-friendly for noobs like myself and none of them seems they can not solve this error for Drupal 9:
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI think Entity Print module is supported in Drupal 9.
You might be running into #3169624: Entity print not supports Dompdf 0.8.6 and need to downgrade via
composer require 'dompdf/dompdf: 0.8.5'
.Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedAny additional support questions should be posted at https://drupal.stackexchange.com or the Entity Print issue queue.