Support » Plugin: WooCommerce Max Quantity » undefined function wc_add_notice

  • Resolved infosws

    (@nicksws)


    Tried to update quantity from product page or cart page:

    Fatal error: Call to undefined function wc_add_notice() in wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 160

    or

    Fatal error: Call to undefined function wc_add_notice() in wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 193

    Using latest version of plugin and version 2.0.17 of WooCommerce.

    I know I only have 3.6.1 or WordPress but this shouldn’t matter should it? It’s a wc function that’s missing.

    Thanks.

    https://wordpress.org/plugins/woocommerce-max-quantity/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author isabel104

    (@isabel104)

    The wc_add_notice() function was introduced in WooCommerce 2.1.0. And it requires WordPress 3.8. Sorry for the inconvenience.

    Thanks. This was it. After upgrading WordPress (and WooCommerce, just to be sure) it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘undefined function wc_add_notice’ is closed to new replies.