Random Fatal Error
-
What could cause this error when trying to print or save an invoice? It only appears on (so far one) random invoice. All other invoices work fine.
Fatal error: Call to a member function get_reason() on int
/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php (2377)
#0 /public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(2412): WC_Order->add_order_item_totals_refund_rows()
#1 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocumentMethods.php(948): WC_Order->get_order_item_totals()
#2 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple/invoice.php(162): WPO\IPS\Documents\OrderDocumentMethods->get_woocommerce_totals()
#3 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1754): include('/home/1102925.c...')
#4 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1610): WPO\IPS\Documents\OrderDocument->render_template()
#5 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1567): WPO\IPS\Documents\OrderDocument->get_html()
#6 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1634): WPO\IPS\Documents\OrderDocument->get_pdf()
#7 /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Main.php(517): WPO\IPS\Documents\OrderDocument->output_pdf()
#8 /public_html/wp-includes/class-wp-hook.php(324): WPO\IPS\Main->generate_document_ajax()
#9 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /public_html/wp-admin/admin-ajax.php(192): do_action()
#12 {main}
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Random Fatal Error’ is closed to new replies.