Quick note. If you’re having problems generating PDFs with wkhtmltopdf and it’s giving you an error that says it has failed without an error message, make sure you have a good copy of wkhtmltopdf on your server. In my case I had uploaded the file with FTP, and used Filezilla’s auto mode.