Is there an error in the browser console? It should display an error 500
Try these steps:
Increasing the PHP memory limit should help
Check your laravel.log file
Try changing your PDF generator to a different provider e.g snappdf in your .env file (maybe you maxed out your Phantomjs limit?) Make sure you run url.com/update?secret= after editing your .env file.
Try re-uploading your logo file. This fixed the problem for me.
If you’re not using Phantomjs add this line to your .env file:
PHANTOMJS_PDF_GENERATION=false
I also found a YouTube video that maybe of assistance to you.
Thanks for replying. The only warning I have is “Warning: Indexing all PDF objects” from the console on the Browser side.
The laravel.log file shows something along the lines of:
[2021-12-01 07:57:07] production.ERROR: There was an error generating the PDF with Phantom JS {"exception":"[object] (App\\Exceptions\\PhantomPDFFailure(code: 0): There was an error generating the PDF with Phant(.....)
…with a stack trace containing paths that are private.
I don’t know how to switch to SnapPDF, do I specify something in the env file?