PHP Fatal error: Call to undefined function wc_format_weight()
-
After update to 1.5.4 started getting many errors in the log (I have not yet updated to WC 3.0):
[06-Apr-2017 22:44:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wc_format_weight() in /home/askwino7/public_html/winelab.net/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php:823
Stack trace:
#0 /home/askwino7/public_html/winelab.net/wp-content/plugins/woocommerce/templates/single-product/tabs/tabs.php(43): additional_info_tab_content(‘additional_info…’, Array)
#1 /home/askwino7/public_html/winelab.net/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include(‘/home/askwino7/…’)
#2 /home/askwino7/public_html/winelab.net/wp-content/plugins/woocommerce/includes/wc-template-functions.php(839): wc_get_template(‘single-product/…’)
#3 /home/askwino7/public_html/winelab.net/wp-includes/class-wp-hook.php(298): woocommerce_output_product_data_tabs(”)
#4 /home/askwino7/public_html/winelab.net/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#5 /home/askwino7/public_html/winelab.net/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /home/askwino7/public_html/ in /home/askwino7/public_html/winelab.net/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php on line 823
- The topic ‘PHP Fatal error: Call to undefined function wc_format_weight()’ is closed to new replies.