• Resolved chetnapatel

    (@chetnapatel)


    Hello,

    I’m getting below fatal error while creating the invoice.

    Fatal error: Call to undefined function wpo_wcpdf_templates_get_table_headers()
    #0 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(825): include()
    #1 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(729): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template('/home1/todaysa2...', Array)
    #2 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(711): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html()
    #3 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(747): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #4 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(360): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('inline')
    #5 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-includes/class-wp-hook.php(292): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
    #6 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #7 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #8 /home1/todaysa2/public_html/tychesoftwares/staging/woo_chetna/wp-admin/admin-ajax.php(187): do_action('wp_ajax_generat...')
    #9 {main}

    There are 3 plugins installed on the site – https://prnt.sc/13mvxsc

    Please fix this soon.

    Thanks,
    Chetna

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    Hello @chetnapatel,

    Are you using a custom template?

    Could you check the WooCommerce logs to see if there are any other errors with the wpo-wcpdf or fatal-errors prefix? If so, please share the logs with us.
    It would also be helpful to see a screenshot of your System Configuration under WooCommerce > PDF Invoices > Status.

    Plugin Contributor Ewout

    (@pomegranate)

    @chetnapatel this is indicating that you are using a Premium Template without the Premium Templates extension activated. Since version 2.11.0 of Premium Templates we automatically deactivate any active premium templates (reverting back to the free Simple template), so this means you must be using an older version of Premium Templates. Since WordPress does not allow us to use these forums for support for our paid extensions, please send us an email at [email protected] and we’ll do our best to help!

    Plugin Contributor Darren Peyou

    (@dpeyou)

    deleted

    • This reply was modified 3 years, 9 months ago by Darren Peyou.
    Thread Starter chetnapatel

    (@chetnapatel)

    Thanks, @dpeyou and @pomegranate. The issue has been solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error in Invoice’ is closed to new replies.