• Resolved dunco

    (@annaduncanson)


    When generating a tax invoice from orders, we get this fatal error:

    Fatal error: Undefined class constant 'Dompdf\Css\Style::TABLE_INTERNAL_TYPES'
    #0 /home/u150856259/domains/critteraid.org/public_html/wp-content/plugins/donation-for-woocommerce/vendor/dompdf/dompdf/src/Dompdf.php(804): Dompdf\Frame\Factory::decorate_frame(Object(Dompdf\Frame), Object(Dompdf\Dompdf), Object(Dompdf\FrameDecorator\Page))
    #1 /home/u150856259/domains/critteraid.org/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(54): Dompdf\Dompdf->render()
    #2 /home/u150856259/domains/critteraid.org/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(747): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #3 /home/u150856259/domains/critteraid.org/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(794): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #4 /home/u150856259/domains/critteraid.org/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(373): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('download')
    #5 /home/u150856259/domains/critteraid.org/public_html/wp-includes/class-wp-hook.php(303): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
    #6 /home/u150856259/domains/critteraid.org/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #7 /home/u150856259/domains/critteraid.org/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #8 /home/u150856259/domains/critteraid.org/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_generat...')
    #9 {main}

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @annaduncanson,

    It seems that the Donation for WooCommerce plugin is using an outdated version of dompdf, the PDF engine that we use too, and this is causing a conflict between the two plugins. You should to ask the developers from that plugin to update their dompdf version to fix this.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @annaduncanson,

    Doing a follow-up on this topic, I’m pleased to let you know that we have received a notification from the developers of Donation for WooCommerce plugin, in which says that they already fixed this issue in v3.2.1, so updating will fix this plugin conflict.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.