Hello,
On my store, when The user is signed in, the payment doesn’t go through and I get an error page.
I debugged the issue and fount this error:
[07-May-2020 03:22:19 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_total() on bool in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php:256
Stack trace:
#0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(274): WC_Payment_Gateway->get_order_total()
#1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(151): WC_Payment_Gateway->is_available()
#2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/wc-account-functions.php(118): WC_Payment_Gateways->get_available_payment_gateways()
#3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php(1022): wc_get_account_menu_items()
#4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/et-core-plugin/app/models/customizer/theme-options/global/callbacks.php(1393): et_b_account_link(true, false, Array)
#5 /opt/bitnami/apps/wordpress/h in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php on line 256
Can you advise on the above?
Thank you