After a fresh install, when switching to wkhtmltopdf as the Print engine, an ajax error occurs:
`Notice: Undefined index: binary_location in Drupal\entity_print\Plugin\EntityPrint\PrintEngine\PhpWkhtmlToPdf->validateConfigurationForm() (line 85 ...)`
Patch attached to just check isset() for this index.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2952434-entity_print-undefined_index-1.patch | 986 bytes | bgilhome |
Comments
Comment #2
bgilhome commentedComment #3
honza pobořil commentedWorks well.
Also will be nice to print better help in config form how to install it. Currently it prints only: "Please install with: composer require mikehaertl/phpwkhtmltopdf" but this is only PHP wrapper. It should recommend installing also wkhtmltopdf library: h4cc/wkhtmltopdf-amd64
Comment #4
benjy commentedCommitted.