Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.4.5
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
Description
If wkhtmltopdf is configured on a site, then the binary is removed, using CiviCRM contribute forms will result in a fatal error and WSoD.
CRM_Utils_PDF_Utils::_html2pdf_wkhtmltopdf() should handle the exception handed back from Knp\Snappy\AbstractGenerator::checkProcessStatus() in this instance.
(Observed when migrating a running CiviCRM from a server with wkhtmltopdf to another server without wkhtmltopdf.)