Error in plugin line 61
-
Hi,
i just installed your plugin and got this error when pressing on Pay for this order
here is the logs:
2024-10-19T04:22:49+00:00Critical Uncaught Error: Call to a member function get_payment_method() on false in /home/iamalive.store/staging.iamalive.store/wp-content/plugins/invoice-payment-for-woocommerce/public/class-wc-invoice-payment-public.php:61 Additional context{ "error": { "type": 1, "file": "/home/iamalive.store/staging.iamalive.store/wp-content/plugins/invoice-payment-for-woocommerce/public/class-wc-invoice-payment-public.php", "line": 61 }, "backtrace": [ "", "#0 /home/iamalive.store/staging.iamalive.store/wp-includes/class-wp-hook.php(324): Wc_Payment_Invoice_Public->check_invoice_exp_date()", "#1 /home/iamalive.store/staging.iamalive.store/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()", "#2 /home/iamalive.store/staging.iamalive.store/wp-includes/plugin.php(517): WP_Hook->do_action()", "#3 /home/iamalive.store/staging.iamalive.store/wp-content/plugins/woocommerce/templates/checkout/form-pay.php(100): do_action()", "#4 /home/iamalive.store/staging.iamalive.store/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...')", "#5 /home/iamalive.store/staging.iamalive.store/wp-content/plugins/woocommerce-additional-fees/classes/class-wc-add-fees.php(1692): wc_get_template()", "#6 /home/iamalive.store/staging.iamalive.store/wp-includes/class-wp-hook.php(324): WC_Add_Fees->handler_ajax_calc_fee_pay_order()", "#7 /home/iamalive.store/staging.iamalive.store/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()", "#8 /home/iamalive.store/staging.iamalive.store/wp-includes/plugin.php(517): WP_Hook->do_action()", "#9 /home/iamalive.store/staging.iamalive.store/wp-admin/admin-ajax.php(207): do_action()", "#10 {main}", "thrown" ] }
can you realese update with fix
- You must be logged in to reply to this topic.