• Resolved rogerrwl

    (@rogerrwl)


    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

    • This topic was modified 7 years ago by rogerrwl.
    • This topic was modified 7 years ago by rogerrwl.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author isabel104

    (@isabel104)

    I’m sorry for the inconvenience. This error is because WC Max Quantity was updated to accommodate WooCommerce 3.0. This plugin now requires version 3.0 of WooCommerce.

    Plugin Author isabel104

    (@isabel104)

    *Correction: WC Show Attributes was updated to accommodate WooCommerce 3.0.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Call to undefined function wc_format_weight()’ is closed to new replies.