I have a Self Hosted White labeled installation and I recently updated to version 4.2.0 and now I’m unable to email invoices. The error is “There was an error saving your invoice
Internal Server Error” When in debug mode I see ‘Missing taxtotal taxsubtotal’ pop up in Exceptions when the send email fails. Just for the record I’m on PHP 7.1 and I don’t calculate any taxes on my invoices. Everything in Tax Setting is un-ticked for me.
Thanks Hillel, that did the trick but now the PDFs are corrupted. I can’t open the emailed PDF on mobile or PC. I will upgrade to 4.2.1 in the mean time.
I did the update to 4.2.1 but now the PDF isn’t being attached to the email. In the ‘laravel-error.log’ file I have this message: “[2018-03-07 16:44:01] production.ERROR: PhantomJS - Unable to decode”
Hi Hillel,
The link now takes me directly to the PDF, no Portal login needed but it’s still not included in the email. The same “PhantomJS - Unable to decode” error is in the log file, only difference is it now uses my random password.
Which version did you upgrade from? Were any other changes made to the server?
If ‘phantomjs=true’ is in the URL you should see the raw data, not the PDF. Other users have reported Nginx fastcgi configurations from preventing the app from seeing some request parameters.