Title: PHP error after updates
Last modified: March 18, 2024

---

# PHP error after updates

 *  Resolved [Wil](https://wordpress.org/support/users/delerium62/)
 * (@delerium62)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/)
 * Hello – we recently updated both this plugin and PHP and we are now seeing this
   error, multiple times:
 * PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero 
   in /public/wp-content/plugins/elex-woocommerce-role-based-pricing-plugin-basic/
   includes/elex-price-discount-admin.php:536
 * I thought it might be the zero dollar items we had, but after correcting those,
   this error still appears.
 * Plugin version is at 1.4.3; PHP is at 8.2; all other plugins are up-to-date. 
   Have already tried deactivating all other plugins, but the issue persists.

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

 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/#post-17511515)
 * Hello [@delerium62](https://wordpress.org/support/users/delerium62/),
 * Thanks for contacting us. We will be releasing a new version that includes a 
   fix for the PHP error mentioned above. 
 *  Thread Starter [Wil](https://wordpress.org/support/users/delerium62/)
 * (@delerium62)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/#post-17511795)
 * Thanks – any idea when that will be released?
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/#post-17515213)
 * Hello [@delerium62](https://wordpress.org/support/users/delerium62/),
 * We have released a new version of the plugin(1.4.4). Please upgrade the plugin
   and let us know the feedback.
 *  Thread Starter [Wil](https://wordpress.org/support/users/delerium62/)
 * (@delerium62)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/#post-17548386)
 * Great – that updates seems to have fixed the issue. Thanks.

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

The topic ‘PHP error after updates’ is closed to new replies.

 * ![](https://ps.w.org/elex-woocommerce-role-based-pricing-plugin-basic/assets/
   icon-256x256.png?rev=2802425)
 * [ELEX WooCommerce Role Based Pricing](https://wordpress.org/plugins/elex-woocommerce-role-based-pricing-plugin-basic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elex-woocommerce-role-based-pricing-plugin-basic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elex-woocommerce-role-based-pricing-plugin-basic/)
 * [Active Topics](https://wordpress.org/support/plugin/elex-woocommerce-role-based-pricing-plugin-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elex-woocommerce-role-based-pricing-plugin-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elex-woocommerce-role-based-pricing-plugin-basic/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Wil](https://wordpress.org/support/users/delerium62/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-after-updates/#post-17548386)
 * Status: resolved