Request: Clear debug steps for ‘blank’ PDFs
-
To the author: Please help your users by providing a clear way to debug both wp-mpdf and mpdf when PDFs appear to come out blank.
I say ‘appear’ because often this happens even if wp-mpdf’s “debug” mode’s HTML, comes out the way it’s supposed to. Seeing the HTML output (especially if no errors are shown in there) isn’t very helpful towards understanding why the PDF comes out as blank.
Neither wp-mpdf nor mpdf are very well documented when it comes to this. For example, there is https://mpdf.github.io/reference/mpdf-variables/debug.html but I have no idea how to enable this when using wp-mpdf. Nor do I know if mpdf’s docs match the version of mpdf being used in wp-mpdf.
Plain and simple, how does one debug a blank looking PDF file? What other debug than outputting HTML instead of a PDF file, do either offer?
- The topic ‘Request: Clear debug steps for ‘blank’ PDFs’ is closed to new replies.