• Resolved NickGreen

    (@nickirongate)


    Notice: Undefined index: wp_mpdf_pdfname in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 552
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/wp-mpdf/wp-mpdf.php:552) in /nfs/c07/h02/mnt/110208/domains/edcwc.com/html/refresh/wp-admin/post.php on line 242
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/wp-mpdf/wp-mpdf.php:552) in /wp-includes/pluggable.php on line 1207

    Line 552 in wp-mpdf.php is in this function: function mpdf_admin_savepost($post_id)

    and it’s this line: $pdfOutputName = $_POST['wp_mpdf_pdfname'];

    I’m truly at a loss, unfortunately. Any ideas anyone?

    https://ww.wp.xz.cn/plugins/wp-mpdf/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter NickGreen

    (@nickirongate)

    Ok, this feels hackish, but it turns out I had WP_DEBUG set to true, which was causing that error to appear. When I set it to false, the error goes away.

    It feels a bit like sweeping the dirt under the rug, but it works for now.

    Plugin Author fkrauthan

    (@fkrauthan)

    Hmm which should not not be turned on in a prod env anyway right?

    If you figure the problem out feel free to head over to github and create a pull request with a fix.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when updating post/page’ is closed to new replies.