URGENT: PDF exporting / emailing broken again

URGENT: PDF exporting / emailing broken again

The PDF export and emailing function is broken again.

Trying to Email invoices to clients returns the error:-  EMail Send Failed-PDF header signature not found.

Trying to Export to PDF opens a html page with broken links.