Title: Undefined function error
Last modified: September 1, 2016

---

# Undefined function error

 *  [benzitto](https://wordpress.org/support/users/benzitto/)
 * (@benzitto)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/undefined-function-error-10/)
 * I’m getting the follow error
 * Fatal error: Call to undefined method WC_Cart::get_cart_discount_tax_total() 
   in C:\wamp\www\4.5.1-ctl\wp-content\plugins\yith-woocommerce-subscription\includes\
   class.yith-wc-subscription-order.php on line 73
 * [https://wordpress.org/plugins/yith-woocommerce-subscription/](https://wordpress.org/plugins/yith-woocommerce-subscription/)

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

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-error-10/#post-8251285)
 * this error is showed after the checkout process?
 *  [chsurendra](https://wordpress.org/support/users/chsurendra/)
 * (@chsurendra)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-function-error-10/#post-8595879)
 * Hi Team,
 * We are getting the same error as below:
 * Fatal error: Call to undefined method WC_Cart::get_cart_discount_tax_total() 
   in C:\wamp\www\4.5.1-ctl\wp-content\plugins\yith-woocommerce-subscription\includes\
   class.yith-wc-subscription-order.php on line 73
 * when we are clicking the placeorder button it is showing this error.
 * Can you please guide us to fix this issue.
 * Thanks,
    Surendra.
 *  [chsurendra](https://wordpress.org/support/users/chsurendra/)
 * (@chsurendra)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-function-error-10/#post-8597861)
 * Hi Team,
 * I am having the WordPress 3.5.1 and i have installed yith subscriptions 1.0.5.
 * When i am clicking on the place order button i am getting the below error.
 * Fatal error: Call to undefined method WC_Cart::get_cart_discount_tax_total() 
   in
    wp-content/plugins/yith-woocommerce-subscription/includes/class.yith-wc-subscription-
   order.php on line 73
 * Can you please guide me to fix this issue.
 * Thanks in advance.
 * Thanks,
    Surendra.

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

The topic ‘Undefined function error’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-subscription/assets/icon-128x128.gif?rev
   =3146401)
 * [YITH WooCommerce Subscription](https://wordpress.org/plugins/yith-woocommerce-subscription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-subscription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-subscription/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-subscription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-subscription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-subscription/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [chsurendra](https://wordpress.org/support/users/chsurendra/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-function-error-10/#post-8597861)
 * Status: not resolved