Critical error while printing invoice
-
Hello,
We are facing issue while printing an invoice for orders.
Here is the error log:
[25-May-2023 14:23:10 UTC] PHP Fatal error: Uncaught TypeError: Reepay\Checkout\OrderFlow\ThankyouPage::override_template(): Argument #3 ($args) must be of type array, null given, called in /customers/c/c/b/rwdcph.com/httpd.www/wp-includes/class-wp-hook.php on line 308 and defined in /customers/c/c/b/rwdcph.com/httpd.www/wp-content/plugins/reepay-checkout-gateway/includes/OrderFlow/ThankyouPage.php:57
Stack trace: 0 wp-includes/class-wp-hook.php(308): Reepay\Checkout\OrderFlow\ThankyouPage->override_template('/customers/c/c/…', 'print-order.php', NULL, '/customers/c/c/…', '/customers/c/c/…') 1 wp-includes/plugin.php(205): WP_Hook->apply_filters('/customers/c/c/…', Array) 2 wp-content/plugins/woocommerce/includes/wc-core-functions.php(313): apply_filters('wc_get_template', '/customers/c/c/…', 'print-order.php', NULL, '/customers/c/c/…', '/customers/c/c/…') 3 wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-print.php(431): wc_get_template('print-order.php', NULL, '/customers/c/c/…', '/customers/c/c/…') 4 wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-print.php(385): WCDN_Print->generate_template('25403', 'invoice', NULL) 5 wp-includes/class-wp-hook.php(308): WCDN_Print->template_redirect_admin('') 6 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 7 wp-includes/plugin.php(517): WP_Hook->do_action(Array) 8 wp-admin/admin-ajax.php(188): do_action('wp_ajax_print_o…') 9 {main} thrown in wp-content/plugins/reepay-checkout-gateway/includes/OrderFlow/ThankyouPage.php on line 57Can you please help us to fix the issue?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Critical error while printing invoice’ is closed to new replies.