Title: Call to undefined function
Last modified: July 14, 2020

---

# Call to undefined function

 *  Resolved [dumdeedum](https://wordpress.org/support/users/dumdeedum/)
 * (@dumdeedum)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/)
 * Hi,
 * every time i try to edit page post or anything that has a variable product in
   it i’m getting this error
    `Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids()
   in /home/mgudzdt/xxx/wp-content/plugins/woocommerce/includes/class-wc-customer.
   php:190 Stack trace: #0 /home/mgudzdt/xxx/wp-content/plugins/woocommerce/includes/
   class-wc-tax.php(459): WC_Customer->get_taxable_address() #1 /home/mgudzdt/xxx/
   wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location('',
   Object(WC_Customer)) #2 /home/mgudzdt/xxx/wp-content/plugins/woocommerce/includes/
   data-stores/class-wc-product-variable-data-store-cpt.php(400): WC_Tax::get_rates()#
   3 /home/mgudzdt/xxx/wp-content/plugins/woocommerce/includes/data-stores/class-
   wc-product-variable-data-store-cpt.php(258): WC_Product_Variable_Data_Store_CPT-
   >get_price_hash(Object(WC_Product_Variable), true) #4 /home/mgudzdt/xxx/wp-content/
   plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Variable_Data_Store_CPT-
   >read_price_data(Object(WC_Product_Variable), true) #5 /home/mgudzdt/xxx/wp-content/
   plugins in /home/mgudzdt/xxx/wp-content/plugins/woocommerce/includes/class-wc-
   customer.php on line 190`
 * When this your plugin is disabled everything works fine.

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

 *  [claudiodadda](https://wordpress.org/support/users/claudiodadda/)
 * (@claudiodadda)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13123931)
 * Ola!
    Comigo esta acontecendo a mesma coisa Mesmo erro
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13124568)
 * Hello [@dumdeedum](https://wordpress.org/support/users/dumdeedum/),
 * We have not faced any such issue at our end.
 * In order to investigate the issue further, we will need to take a closer look
   at your end. Please open a ticket from our [Support Portal](https://www.brainstormforce.com/open-a-ticket/)
   for quicker resolution.
 * Looking forward to hearing from you!
 * Regards,
    Rahul.
 *  [claudiodadda](https://wordpress.org/support/users/claudiodadda/)
 * (@claudiodadda)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13127638)
 * Hello
    The error is in the “calculation of fees” in the menu of WooCommerce/general,
   disable calculation of fees. If not to use, disable.
 *  Thread Starter [dumdeedum](https://wordpress.org/support/users/dumdeedum/)
 * (@dumdeedum)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13128037)
 * [@claudiodadda](https://wordpress.org/support/users/claudiodadda/) thanks a lot
   that worked
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13135846)
 * Hello [@dumdeedum](https://wordpress.org/support/users/dumdeedum/),
 * Glad that the issue is resolved at your end.
 * Please let us know in case of any further help.
 * Have a nice day!
 * Regards,
    Rahul.

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

The topic ‘Call to undefined function’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-elementor/assets/icon-256x256.gif?rev=3278750)
 * [Ultimate Addons for Elementor](https://wordpress.org/plugins/header-footer-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-elementor/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)

 * 5 replies
 * 3 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-34/#post-13135846)
 * Status: resolved