If you go to Email Settings > Attach PDF and set it to OFF, you will have problems sending the invoice. You won’t be able to see the invoice PDF on the invoice panel and when the customer gets the email and click on the link to pay, they are directed to a “500 — Server Error” page.
Error:
500: There was an error generating the PDF with Phantom JS
It did it again. It was fine and when I switch it to not include the pdf it started again. I have turned it off on env but it continues giving issues. I’m including also what it says on the bottom of the invoice while creating the invoice. As you can see there’s no pdf generated and the error that it shows. invoiceninja|690x331