• Resolved speeddealer111

    (@speeddealer111)


    Just finished installing 2.1 and updating database.

    I’m having an issue with my checkout page shipping options.

    Using USPS plugin 3.6.1. (It was updated before wc 2.1 got updated)

    Exact error:
    Fatal error: Call to undefined method WC_Shipping::get_available_shipping_methods() in /home/sdcustom/public_html/wp-content/themes/u-design/woocommerce/checkout/review-order.php on line 14

    Here is the checkout page link

    Not sure what to change in order to make this work.

    Is it just a file name change I hope?

    Any help is much appreciated.

    Thanks!

    https://wordpress.org/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Roy Ho

    (@splashingpixelscom)

    Did you make sure your theme has an update that is compatible with WooCommerce 2.1?

    I suggest to rollback to the previous version and yes, you’ll have to recreate the checkout page which is simple to do since it has a shortcode.

    I have the same issue. My theme might not be compatible yet with woocommerce 2.1 but I hope anyone could provide an urgent solution, please.

    Woocommerce make a suggestion that worked for me:

    As you can see in the error of your second message, this issue is caused by your theme. You should contact the theme developer to get this fixed properly. You can delete that specific file from your theme until this issue has been patched by your theme developer for a temporary fix. WooCommerce will fall back on the default template file, bundled with the plugin.

    Cheers, Coen

    I had the same issue, and I manage to solve it..

    What I did was remove all the existing files from your current theme folder, and re-upload the latest version to it. Magically done.

    Cheers.

    Yup, these issues are caused by outdated template files being included in themes.

    I have included this fix in our list of common issues: Solving get_available_shipping_methods() method errors.

    Hello,
    i have the same error

    Fatal error: Call to undefined method WC_Shipping::get_available_shipping_methods() in /home/admin/public_html/lolitacondoms.gr/wp-content/themes/organic_shop/woocommerce/checkout/review-order.php on line 14

    Which files do i have to delete from my theme folder?

    The files that throw the error. Please read the documentation link I posted.

    (Also, please don’t hijack other topics, it’s considered rude and against forum policy)

    Hi, thanks for your answer.

    I read it.
    And i wanted to know about what you write ‘You can delete that specific file from your theme’ which files you mean..?

    What you mean with ‘don’t hijack other topics’ ?

    Im sorry but i am new in that..

    The file that is mentioned in the actual error. In your case that is: wp-content/themes/organic_shop/woocommerce/checkout/review-order.php

    By hijacking other peoples topics, I mean that you start posting about your own issue (although it’s related to this one) in someone else’s support topic. That’s against the forum policy here on WordPress.org. πŸ™‚

    @tanjatravel: These forums have guidelines. Please read them.

    As you will see, one of these guidelines – entitled Where to Post – specifically states:

    Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread. Start your own topic.

    Please abide by this.

    Thanks a lot for your answer.
    And sorry about that, i didn’t make that on purpose..I didn’t know

    So without updating the theme how would you fix this issue? How would you know what files are outdated to fix the issue?

    Thread Starter speeddealer111

    (@speeddealer111)

    Hey Tri,

    It was a theme issue. Had to revert to the old version until the theme author came out with an updated version compatible with WC 2.1.

    After updating the theme, there were a few bugs but in the end that was the culprit.

    Fatal error: Call to undefined method WC_Shipping::get_available_shipping_methods() in C:\xampp\htdocs\ecom\wp-content\themes\flatsome\woocommerce\checkout\review-order.php on line 14

    above is my issue how can i solve it.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Checkout page error’ is closed to new replies.