Title: Fatal Errors- CRITICAL Uncaught Error
Last modified: August 19, 2019

---

# Fatal Errors- CRITICAL Uncaught Error

 *  [bobmorain](https://wordpress.org/support/users/bobmorain/)
 * (@bobmorain)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-errors-critical-uncaught-error/)
 * Hi support team,
 * I am getting an error in Woocommerce logs. Although the plugin and pages seem
   to be working fine. Please help.
 * 2019-08-19T01:50:50+00:00 CRITICAL Uncaught Error: Call to undefined function
   wc_get_notices() in /home/barchinc/public_html/wp-content/plugins/minmax-quantity-
   for-woocommerce/main.php:702
    Stack trace: #0 /home/barchinc/public_html/wp-content/
   plugins/minmax-quantity-for-woocommerce/main.php(619): BeRocket_MM_Quantity->
   new_calculate_total(NULL) #1 /home/barchinc/public_html/wp-includes/class-wp-
   hook.php(286): BeRocket_MM_Quantity->fix_error_duplicate(”) #2 /home/barchinc/
   public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, 
   Array) #3 /home/barchinc/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(
   Array) #4 /home/barchinc/public_html/wp-includes/general-template.php(2745): 
   do_action(‘wp_head’) #5 /home/barchinc/public_html/wp-content/themes/oceanwp/
   header.php(17): wp_head() #6 /home/barchinc/public_html/wp-includes/template.
   php(722): require_once(‘/home/barchinc/…’) #7 /home/barchinc/public_html/wp-includes/
   template.php(671): load_template(‘/home/barchinc/…’, true) #8 /home/barchinc/
   public_html/wp-includes/ در /home/barchinc/public_html/wp-content/plugins/minmax-
   quantity-for-woocommerce/main.php روی خط 702
 * Thanks,
    Bob
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-errors-critical-uncaught-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Dmytro Holovnia](https://wordpress.org/support/users/dholovnia/)
 * (@dholovnia)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-errors-critical-uncaught-error/#post-11848244)
 * Hi Bob,
 * Most likely this is coming from some cron job or ajax request where not all WooCommerce
   includes are presented. I did check and function `wc_get_notices()` is presented
   in the WooCommerce.
 * Our developer will check how to fix it.
 * Regards,
    Dima
 *  Thread Starter [bobmorain](https://wordpress.org/support/users/bobmorain/)
 * (@bobmorain)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-errors-critical-uncaught-error/#post-11862411)
 * Thank you. Kindly let me know when there is a new fix.
 * Bob

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

The topic ‘Fatal Errors- CRITICAL Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/minmax-quantity-for-woocommerce/assets/icon-256x256.gif?
   rev=2770663)
 * [Min and Max Quantity for WooCommerce](https://wordpress.org/plugins/minmax-quantity-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/minmax-quantity-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/minmax-quantity-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/minmax-quantity-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minmax-quantity-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minmax-quantity-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bobmorain](https://wordpress.org/support/users/bobmorain/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-errors-critical-uncaught-error/#post-11862411)
 * Status: not resolved