• Resolved peter lipp

    (@peter-lipp)


    Just got this error when trying to produce a PDF. In detail:

    Fatal error: Uncaught Mpdf\MpdfException: Invalid input characters. Did you set $mpdf->in_charset properly? in /home/.sites/856/site3670/web/pbc-wp/wp-content/plugins/pdf-print/vendor/mpdf/mpdf/src/Mpdf.php:28352

    Stack trace:
    #0 /home/.sites/856/site3670/web/pbc-wp/wp-content/plugins/pdf-print/vendor/mpdf/mpdf/src/Mpdf.php(14828): Mpdf\Mpdf->purify_utf8(‘\r\n\t\t\tWriteHTML(‘\r\n\t\t\tapply_filters(”, Array)
    #4 /home/.sites/856/site3670/web/pbc-wp/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #5 /home/.sites/856/site3670/web/pbc-wp/wp-includes/class-wp.php(728): do_action_ref_array(‘wp’, Array)
    #6 /home/.sites/856/site3670/web/pbc-wp/wp-includes/functions.php(964): WP->main(”)
    #7 /home/.sit in /home/.sites/856/site3670/web/pbc-wp/wp-content/plugins/pdf-print/vendor/mpdf/mpdf/src/Mpdf.php on line 28352

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    Could you please specify which PHP version is installed on your server?

    It seems like you are using 7.x.x PHP version on your site, if so – please follow the next instructions in order to upgrade MPDF library for PDF & Print plugin:
    1) Go to PDF & Print settings page;
    2) Open the “Misc” tab;
    3) Click the “Upgrade” button;
    4) Test the PDF doc creation and let us know about the result.

Viewing 1 replies (of 1 total)

The topic ‘MpdfException: Invalid input characters’ is closed to new replies.