This topic has 10 replies, 3 voices, and was last updated 7 years, 7 months ago ago by Olga Barlow
sorry the English
I have the following problem:
I am using the plugin Woo Mercado Pago Module Oficial, however upon arriving at the payment screen I come across the following error:
Fatal error: Can’t use method return value in write context in /home/henon843/public_html/wp-content/themes/xstore/woocommerce/checkout/form-billing.php on line 49
Any solution?
Thank you.
Yeah, good luck man. I have had the same problem for 2 days now and they haven’t been able to help yet.
Hello, @henriquejrc
It’s related to version PHP that you use.
Open /xstore/woocommerce/checkout/form-billing.php file find line 49
<?php if ( ! empty( $checkout->get_checkout_fields( 'account' ) ) ) : ?>
and replace by the following
<?php if ( $checkout->get_checkout_fields( 'account' ) ) : ?>
Also, it will be changed in next theme update.
Regards
Hello, @bantanaaudio
What are you talking about? I don’t see any topic on support forum about this issue from you.
All users who reported about this issue got help
https://www.8theme.com/topic/fatal-error-in-checkout-after-updating-woocommerce/
https://www.8theme.com/topic/checkout-not-working-3/
Regards
I wasn’t aware that I needed to make a post on this forum to be helped. I had been messaging through the chat for a few days and couldn’t get help. I guess in the future ill ask here instead.
Hello, @bantanaaudio
Chat specialists will be able to help you with theme options/functions, minor CSS customization. If you face fatal errors I would recommend you to post the topic on the support forum.
Regards
Now goes to the payment screen, however the same selected shipping form of the following error:
No shipping methods have been selected. Please double-check your address or contact us if you need assistance.
Before when it went from the screen, did not load the or redirected it to finalize the payment
Hello, @henriquejrc
Do you have this problem with official WC theme Storefront? We’ll be able to help you only in case it works fine with the official theme. If you have the problem even with Storefront – check the WC settings or contact WC support.
Regards
Yes, I am using the official theme in version 3.11.1
Hello,
Seems you did not understand my previous answer. You should go to Appearance > Themes > install and activate WooCommerce official theme – Storefront. Do you have the problem with shipping methods when default WC theme is enabled?
Regards
You must be logged in to reply to this topic.Log in/Sign up