Call to undefined function
-
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.
- The topic ‘Call to undefined function’ is closed to new replies.