Uncaught MpdfException when $pdf_template_pdfpage is set
-
Hey whenever I set a value for $pdf_template_pdfpage or $pdf_template_pdfdoc in the currently used theme PDF creation stops working and I find this error in debug.log:
[14-Dec-2017 20:55:08 UTC] PHP Fatal error: Uncaught MpdfException: Class fpdi_pdf_parser not found. Please run composer update or require setasign/fpdi 1.6.* manually in /html/wordpress/wp-content/plugins/wp-mpdf/mpdf/mpdf.php:31048
Stack trace:
#0 /html/wordpress/wp-content/plugins/wp-mpdf/wp-mpdf.php(190): mPDF->SetImportUse()
#1 /html/wordpress/wp-content/plugins/wp-mpdf/wp-mpdf.php(465): mpdf_output(‘<p><!DOCTYPE ht…’, true, true, NULL, ‘/html/wordpress…’)
#2 /html/wordpress/wp-includes/class-wp-hook.php(298): mpdf_exec(true)
#3 /html/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(false, Array)
#4 /html/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#5 /html/wordpress/wp-includes/template-loader.php(12): do_action(‘template_redire…’)
#6 /html/wordpress/wp-blog-header.php(19): require_once(‘/html/wordpress…’)
#7 /html/wordpress/index.php(17): require(‘/html/wordpress…’)
#8 {main}
thrown in /html/wordpress/wp-content/plugins/wp-mpdf/mpdf/mpdf.php on line 31048Help plox ??
- The topic ‘Uncaught MpdfException when $pdf_template_pdfpage is set’ is closed to new replies.