Closed iMusicJJ closed 1 year ago
Hi!,
I could workaround this adding if(!defined('STDERR')) define('STDERR', fopen('php://stderr', 'wb'));
just before the PDFDoc::from_string
call, hope this helps!
Hi,
commit f1c548c213ebfe8eef5295e15390018aeec77cbb solves this issue.
Thank you @raimon-segura for the hint.
@iMusicJJ could you please check it?
@dealfonso thanks to you for your great work with this project! ...best solution to sign pdf :D
This happens when the script is run as part of a PHP-program, and not as a CLI script.
The particular instance that I am running into is at PDFDoc:755
p_debug("generating xref using classic xref...trailer");