Title: Fatal Error: Divide By Zero
Last modified: June 7, 2021

---

# Fatal Error: Divide By Zero

 *  Resolved [arfurd](https://wordpress.org/support/users/arfurd/)
 * (@arfurd)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/)
 * Hi Can you please help with the following error?
 * Fatal error: Uncaught DivisionByZeroError: Modulo by zero in …/wp-content/plugins/
   woo-min-max-quantity-limit/woo-min-max-quantity.php:218
 * I deactivate the plugin and my site works, activated my site breaks.

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

 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14527604)
 * [@arfurd](https://wordpress.org/support/users/arfurd/), you need to set the increment
   option, then only it’d work
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14536908)
 * [@arfurd](https://wordpress.org/support/users/arfurd/) check now. I’ve added 
   fix for divide by zero.
 *  Thread Starter [arfurd](https://wordpress.org/support/users/arfurd/)
 * (@arfurd)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14536980)
 * Perfect thank you.
 * Your fix has….. erm fixed it 😂
 *  Plugin Author [Ashok G](https://wordpress.org/support/users/wpashokg/)
 * (@wpashokg)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14536994)
 * [@arfurd](https://wordpress.org/support/users/arfurd/) happy to hear that. Also
   do a favor , can you add a review, if the plugin is really helpful
 *  Thread Starter [arfurd](https://wordpress.org/support/users/arfurd/)
 * (@arfurd)
 * [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14537163)
 * Hi Ashok,
 * Thank you. Have done that for you.

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

The topic ‘Fatal Error: Divide By Zero’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-min-max-quantity-limit.svg)
 * [Simple Minimum and Maximum Quantity Limit for WooCommerce](https://wordpress.org/plugins/woo-min-max-quantity-limit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-min-max-quantity-limit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-min-max-quantity-limit/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-min-max-quantity-limit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-min-max-quantity-limit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-min-max-quantity-limit/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [arfurd](https://wordpress.org/support/users/arfurd/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/fatal-error-divide-by-zero/#post-14537163)
 * Status: resolved