• When printing bulk PDF for certain orders (not all) we get a critical white page error. This mainly happens for orders that have Belgium setup as a country. Also when opening the invoice, it shows the invoice of a way different order.

    WordPress version 5.7.2
    Current theme: Lofttrum (version 1.0.0)
    Current plugin: Invoices for WooCommerce (version 3.1.6)
    PHP version 7.4.16

    I get this error:

    An error of type E_ERROR was caused on line number 31363 of file /www/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php. Error Message: Uncaught MpdfException: Unable to find xref table. in /www/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:31363
    Stack trace:
    # 0 /www/wp-content/plugins/woocommerce-pdf-invoices-premium/includes/class-bulk-print.php(58): mPDF-> SetSourceFile (‘/ www / wp-content …’)
    # 1 /www/wp-content/plugins/woocommerce-pdf-invoices-premium/includes/class-bulk-print.php(120): BEWPIP_Bulk_Print :: merge (Object (mPDF), Array)
    # 2 /www/wp-content/plugins/woocommerce-pdf-invoices-premium/includes/class-bulk-print.php(167): BEWPIP_Bulk_Print :: bulk_print_pdf_invoices (Array)
    # 3 /www/wp-includes/class-wp-hook.php(292): BEWPIP_Bulk_Print :: bulk_action_handler (”)
    # 4 /www/wp-includes/class-wp-hook.php(316): WP_Hook-> apply_filters (NULL, Array)
    # 5 /www/wp-includes/plugin.php(484): WP_Hook-> do_action (Array)
    # 6 /www/wp-admin/admin.php(374): do_action (‘load-edit.php’)
    # 7 /www/wp-admin/edit.php(10): require_once (‘/ www / wp-admin / a …’)
    # 8 {main}
    thrown`

  • The topic ‘Error when bulk printing PDF for certain orders’ is closed to new replies.