• Resolved andrepreview

    (@andrepreview)


    Just updated woocomerce to the latest version and when I view cart, I receive the error :

    Fatal error: Call to undefined method WC_Shipping_Zone::get_shipping_methods() in …/wp-content/plugins/woocommerce/includes/class-wc-shipping.php on line 137

    I’m running the latest version of the avada theme

    Any help would be much appreciated!

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    It works fine, I did not reproduce this error. Try to install again, maybe is missing some files.

    Thread Starter andrepreview

    (@andrepreview)

    Thanks for the ressponse. It was the plugin table rate shipping that caused the problem and its now been resolved.

    andrepreview i have the same problem. How was this resolved? I am using table rate shipping with my website.

    Thank u.

    Please someone should help me with error.
    Fatal error: Uncaught Error: Call to undefined method WC_Query::price_filter() in C:\xampp\htdocs\uncode\wp-content\themes\uncode\vc_templates\uncode_index.php:219 Stack trace: #0 C:\xampp\htdocs\uncode\wp-content\plugins\uncode-js_composer\include\classes\shortcodes\shortcodes.php(473): include() #1 C:\xampp\htdocs\uncode\wp-content\plugins\uncode-js_composer\include\classes\shortcodes\shortcodes.php(453): WPBakeryShortCode->loadTemplate(Array, ”) #2 C:\xampp\htdocs\uncode\wp-content\plugins\uncode-js_composer\include\classes\shortcodes\shortcodes.php(565): WPBakeryShortCode->content(Array, ”) #3 C:\xampp\htdocs\uncode\wp-content\plugins\uncode-js_composer\include\helpers\helpers.php(1400): WPBakeryShortCode->output(Array, ”) #4 C:\xampp\htdocs\uncode\wp-includes\shortcodes.php(326): vc_do_shortcode(Array, ”, ‘uncode_index’) #5 [internal function]: do_shortcode_tag(Array) #6 C:\xampp\htdocs\uncode\wp-includes\shortcodes.php(223): preg_replace_callback(‘/\\[(\\[?)(uncode…’, ‘do_shortcode_ta…’, ‘<div class=”pos…’ in C:\xampp\htdocs\uncode\wp-content\themes\uncode\vc_templates\uncode_index.php on line 219

    I’m having this error at the checkout page when I change the country select. Call to undefined method WC_Shipping_Zone::get_shipping_methods() in /home/worsleyinstituty/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php on line 137. I am using table rate shipping plugin – I’ve updated woocommerce and the table rate plugin. @gambit01 did you find a fix for this?

    Best bet is to contact WooCommerce, when i had this issue some months back they were helpful.

    how to resolved this problem :(?

    @gambit01 hi, how to resolved this problem?

    • This reply was modified 8 years, 2 months ago by fdelrio.

    Hello, @fdelrio to solve this issue i contacted WooCommerce for support.

    Good luck.

    hello
    i am using banban theme and java spot theme and i got this error
    Fatal error:
    Uncaught Error: Call to undefined method WC_Customer::get_address() in /var/www/html/shikha/backup/wp-content/plugins/woocommerce-distance-rate-shipping/woocommerce-distance-rate-shipping.php:242
    Stack trace:
    #0 /var/www/html/shikha/backup/wp-includes/plugin.php(235): Woocommerce_Distance_Rate_Shipping->set_default_billing_address(Array)
    #1 /var/www/html/shikha/backup/wp-content/plugins/woocommerce/includes/class-wc-countries.php(1104): apply_filters(‘woocommerce_bil…’, Array, ‘US’)
    #2 /var/www/html/shikha/backup/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(187): WC_Countries->get_address_fields(‘US’, ‘billing_’)
    #3 /var/www/html/shikha/backup/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(130): WC_Checkout->get_checkout_fields()
    #4 /var/www/html/shikha/backup/wp-content/themes/banban/woocommerce/checkout/form-checkout.php(36): WC_Checkout->__get(‘checkout_fields’)
    #5 /var/www/html/shikha/backup/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include(‘/var in /var/www/html/shikha/backup/wp-content/plugins/woocommerce-distance-rate-shipping/woocommerce-distance-rate-shipping.php on line 242
    please help me!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Call to undefined method WC_Shipping_Zone::get_shipping_methods’ is closed to new replies.