Corrupt PDF file doc template

We are using Dolibarr 6.0.5 in our company, but it appears the PDF-documents that are generated are either corrupt of something else is wrong. As soon as I open the PDF outside of the browser (in Adobe Acrobat Reader) I get the error “Insufficient data for an image” and the PDF is almost completely empty. We tested this with various customers who received our PDFs as well, but they experience the same issues. Is this a known issue?

See the attachment for an example

Pièces jointes :