Preview works, but pdf is blank
-
Hi!
I’m trying to use your plugin to generate some reports based on custom post types.
When i’m using ?pdf-preview , it works fine, however when i try to generate a pdf using ?pdf, it will show just a blank white pdf page. WP_DEBUG generates this:Notice: Undefined index: Cache-Control in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 315 Notice: Undefined index: Pragma in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 315 Warning: Cannot modify header information - headers already sent by (output started at XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php:315) in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 347 Warning: Cannot modify header information - headers already sent by (output started at XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php:315) in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 348 Warning: Cannot modify header information - headers already sent by (output started at XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php:315) in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 349 Warning: Cannot modify header information - headers already sent by (output started at XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php:315) in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 350 Warning: Cannot modify header information - headers already sent by (output started at XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php:315) in XXXX/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 351 %PDF-1.3 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R >> /MediaBox [0.000 0.000 612.000 792.000] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Creator (DOMPDF) /CreationDate (D:20141103205814+00'00') /ModDate (D:20141103205814+00'00') /Title (? Log In) >> endobj 6 0 obj << /Type /Page /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 8 >> stream x? endstream endobj xref 0 8 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000251 00000 n 0000000280 00000 n 0000000412 00000 n 0000000475 00000 n trailer << /Size 8 /Root 1 0 R /Info 5 0 R >> startxref 553 %%EOF
Any idea whats wrong?
Thanks!
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Preview works, but pdf is blank’ is closed to new replies.