• Resolved tpark

    (@tpark)


    Hi
    I’ve got this error at cart/checkout page in shipping options:

    Fatal error:
    Uncaught Error: Call to undefined method stdClass::get_label() in /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/includes/wc-cart-functions.php:352
    Stack trace:
    #0 /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/templates/cart/cart-shipping.php(40): wc_cart_totals_shipping_method_label(Object(stdClass))
    #1 /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/includes/wc-core-functions.php(344): include('/home/mysite/...')
    #2 /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/includes/wc-cart-functions.php(235): wc_get_template('cart/cart-shipp...', Array)
    #3 /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/templates/cart/cart-totals.php(45): wc_cart_totals_shipping_html()
    #4 /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/includes/wc-core-functions.php(344): include('/home/mysite/...')
    #5 /home/mysite/domains/mysite.com/pu in /home/mysite/domains/mysite.com/public_html/assets/plugins/woocommerce/includes/wc-cart-functions.php on line 352

    active plugins: just latest version of woocommerce
    theme: storefront
    php: 7.3

    any solutions?
    Regards

    • This topic was modified 5 years, 8 months ago by tpark.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tseten a11n

    (@tibetanitech)

    Hi @tpark,

    After looking into this error, I found that most of the similar issues reported by others are related to the customization of the WooCommerce plugin.

    Can you confirm if you have made any changes to the code of the WooCommerce? If you haven’t made any changes to the code and if the error still occurs during your conflict test, can you delete and reinstall the WooCommerce plugin and see if that resolves the problem?

    Let us know how that goes.

    Plugin Support fevered – a11n

    (@fevered)

    Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Woocommerce Fatal Error: Call to undefined method stdClass::get_label’ is closed to new replies.