Version:
OS CentOS Linux release 7.9.2009 (Core)
Kernel 3.10.0-1160.21.1.el7.x86_64
wkhtmltopdf-opt-0.12.4-1.el7.remi
php 7.2
I've installed openssl-devel (same as libssl-dev in centos) and restarted apache, but same error.
Changed mydbr_defaults with no success, original --header-html is still in the command:
There was an error (code:139) producing the pdf document
Failed command: /opt/wkhtmltopdf/bin/wkhtmltopdf --header-html "" -q --margin-top "20" --header-spacing "8" --header-html "https://mydbr.mysite.it/user/export_header_pdf.php" --replace rdate "08/04/2021" --replace rtime "15.36.24" /tmp/mydbr_export_1799345629.html -
Same result by passing empty value:
Failed command: /opt/wkhtmltopdf/bin/wkhtmltopdf -q --margin-top "20" --header-spacing "8" --replace rdate "08/04/2021" --replace rtime "15.49.05" --header-html "" /tmp/mydbr_export_994860112.html -
Same result using both simple and double quote. Same result using http only.