Hello,
Please try using the following command to repair the PDF that uses ghostscript instead of pdftocairo:
gs -o document_repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress document.pdf
If you send the PDF document to contact[at]phpdocx.com we'll check it.
Regards.