This topic has 8 replies, 3 voices, and was last updated 4 years, 6 months ago ago by Olga Barlow
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
Hello,
First of all, thank you for using our theme and for contacting us.
Do you have this issue with our theme only or it persists with Storefront theme too?
Please let us know, and provide temporary wp-admin access.
Regards
When I disable the theme and activate storefront, the issue disappear.
As you can see in the error above, the issue is in the et-core-plugin
Hello,
Update WooCommerce plugin – https://prnt.sc/scm0ly
If this doesn’t help, provide temporary wp-admin and FTP access.
Regards
u can find them in the private content area
Hello,
What about FTP access?
What exactly should be done to see the problem? Please describe in more detail with screenshots step by step, so I can pas this problem with full information to our technicians.
Right now I am facing – https://prnt.sc/scmprr on the checkout page.
Regards
Hello! we don’t have ftp access at the moment since we are using amazon lightsail, only ssh access available.
But there is the file manager plugin installed, so you can check that if you need to edit any files.
Here are the steps to replicate the issue:
First, sign in using the credentials i sent you.
then
go to any product, for example:
https://gulfstore.bioskinspa.com/product/absolute-time-filler/
Add to cart
go to checkout
then click on place order after choosing
youl’ll get an error
you can access the error here too that you get here too:
Hello,
Problem is not related to our theme because we found the report about the same issue on the WooCommerce MPGS plugin support forum https://wordpress.org/support/topic/fatal-error-3440/
You see our plugin in the Stack trace because we use that default WooCommerce function get_total(). It seems that the mentioned plugin is the reason of the error and it causes the problem not just in WooCommerce plugin files but also in our plugin files because we also use that function.
Try to disable the mentioned plugin and proceed to checkout again.
Regards
You must be logged in to reply to this topic.Log in/Sign up