Problem: checkout form-billing - by henriquejrc

This topic has 10 replies, 3 voices, and was last updated 7 years ago ago by Olga Barlow

  • Avatar: henriquejrc
    henriquejrc
    Participant
    April 12, 2017 at 04:45

    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.

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: bantanaaudio
    bantanaaudio
    Participant
    April 12, 2017 at 05:46

    Yeah, good luck man. I have had the same problem for 2 days now and they haven’t been able to help yet.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 12, 2017 at 07:28

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 12, 2017 at 07:34

    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

    Avatar: bantanaaudio
    bantanaaudio
    Participant
    April 12, 2017 at 08:11

    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.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 12, 2017 at 13:28

    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

    Avatar: henriquejrc
    henriquejrc
    Participant
    April 12, 2017 at 22:21

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 13, 2017 at 16:22

    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

    Avatar: henriquejrc
    henriquejrc
    Participant
    April 13, 2017 at 17:55

    Yes, I am using the official theme in version 3.11.1

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 13, 2017 at 18:25

    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

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.