Title: Uncaught error
Last modified: July 1, 2024

---

# Uncaught error

 *  [Dvelop IT](https://wordpress.org/support/users/dvelop-it/)
 * (@dvelop-it)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/uncaught-error-46/)
 * Hi there,
 * When using the query monitor plugin it shows the following PHP error (when trying
   to edit a single product). The plugin also slows the site down a lot (I’m hoping
   fixing the error below will help improve that)
 * Uncaught Error: abs(): Argument #1 ($num) must be of type int|float, string given
   wp-content/plugins/qa-cost-of-goods-margins/src/Helpers/Formulae.php:68
 * Thanks

The topic ‘Uncaught error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qa-cost-of-goods-margins_e0e0e0.svg)
 * [QA Cost of Goods & Margins](https://wordpress.org/plugins/qa-cost-of-goods-margins/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qa-cost-of-goods-margins/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qa-cost-of-goods-margins/)
 * [Active Topics](https://wordpress.org/support/plugin/qa-cost-of-goods-margins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qa-cost-of-goods-margins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qa-cost-of-goods-margins/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Dvelop IT](https://wordpress.org/support/users/dvelop-it/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/uncaught-error-46/)
 * Status: not resolved