Hi Chris,
Thank you for the reply. I disactivated the rest of the plugins that I had installed and found that when one of them was active (Wp-commerce) then the voucher would be generated ok.
SO I assume this is what’s causing the problem. Now I have no idea how to fix it.
When I open the PDF that doesn’t work in notepad I get this message, and there are a couple of empty spaces above the message.
TCPDF ERROR: Some data has already been output, can’t send PDF file
Many thanks for your help.
Ana