I’m using InvoiceNinja v5.3.0 via Softaculous with PHP v7.4 on shared hosting (I have an allocation of 2 CPU, 2 GB RAM).
The live PDF preview in the invoice editor has a tendency to crash** and this also interferes with saving changes***.
Even when it’s not crashing, creating/editing large invoices (two to six pages) gets slower and s l o w e r… I don’t actually know whether this is related to the constant updating of the pdf preview as I add / make changes to an invoice but I’m hoping being able to turn live preview off will improve it.
Is there a way to turn it off and just use the manual ‘View PDF’ menu command as needed instead?
** The error displayed instead of the PDF is: PlatformException(error, Promise was rejected with a value of ‘undefine’., null, null)
*** The error displayed is “500: There was an error generating the PDF with Phantom JS”. The invoice will still be saved despite the error message, but attempting to leave the invoice editor page afterwards still behaves as if the changes were not saved (displaying the prompt to continue editing or discard the changes) and the changes only show up in the Invoices section after I force-refresh the webpage in the browser.
P.S. I’m willing to edit my install if that’s what it takes (also if there’s a HOWTO for idiots somewhere that step-by-steps how to manually upgrade a softaculous install to the latest invoiceninja github release I’d appreciate a link).