Support » Plugin: DK PDF » Pdf blank width the pods custom post

  • Hi, looks like this is the plugin we need. looks very good 🙂
    I try to use this in custom post generated width the plugin pods.
    I only get blank pdf page.
    Is it possible to get only the info from one variable from the custom page send to the pdf generator?

    Eks: <?php echo do_shortcode(‘[dkpdf-button,{@song_lyriks}]’); ?>

    Hope you can fix this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found answer in
    http://www.dinamiko.com/add-custom-fields-pdf-using-advanced-custom-fields/

    but geting this error:
    Warning: preg_replace(): Compilation failed: regular expression is too large at offset 36048 in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/CssManager.php on line 246 Fatal error: Uncaught Mpdf\MpdfException: Data has already been sent to output, unable to output PDF file in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php:9289 Stack trace: #0 /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/dk-pdf/includes/dkpdf-functions.php(193): Mpdf\Mpdf->Output(‘River is flowin…’, ‘I’) #1 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(298): dkpdf_output_pdf(Object(WP)) #2 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #3 /customers/c/b/5/weeting.net/httpd.www/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #4 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(746): do_action_ref_array(‘wp’, Array) #5 /customers/c/b/5/weeting.net/httpd.www/wp-includes/functions.php(955): WP->main(”) #6 /customers/c/b/5/weeting.net/httpd.www/wp-blog-header.php(16): wp() #7 /customers/c/b/5/weeting.net/httpd.www/index.php(17): require(‘/customers/c/b/…’ in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 9289

    I use php7.0 can also give you log in and admin to web/file if u want

    Plugin Author dinamiko

    (@dinamiko)

    Hi sagiet,

    I created a new version (1.9.5) but I did not public released yet, will be great if can test it, it should (hopefully) get rid of all php7 warnings, you can donwload it from here:
    https://github.com/Dinamiko/dk-pdf/releases/download/v1.9.5/dk-pdf.zip

    Thanks,
    Emili

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pdf blank width the pods custom post’ is closed to new replies.