Title: Undefined variable by plugin in debug_mode
Last modified: February 20, 2024

---

# Undefined variable by plugin in debug_mode

 *  [princox](https://wordpress.org/support/users/princox/)
 * (@princox)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-by-plugin-in-debug_mode/)
 * The plugin is causing PHP Notice every second! My debug.log file just passed 
   1GB. 
   [13-Feb-2024 21:59:09 UTC] PHP Notice:  Undefined variable: WooDecimalProduct_QuantityData
   in /home2/user/myweb/wp-content/plugins/decimal-product-quantity-for-woocommerce/
   decimal-product-quantity-for-woocommerce.php on line 356Any suggestion how can
   i fix this?

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpgear](https://wordpress.org/support/users/wpgear/)
 * (@wpgear)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-by-plugin-in-debug_mode/#post-17439947)
 * Hello princox!
 * I want to ask a few questions to find the reason.
    1. Are these Notice’s in Debug.log added when editing the Basket?
    2. Are these Notice’s in Debug.log added when editing a Basket with any Products?
    3. Can you give a link to your site?
    4. What version of PHP, WP, WOO?

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable by plugin in debug_mode’ is closed to new replies.

 * ![](https://ps.w.org/decimal-product-quantity-for-woocommerce/assets/icon-256x256.
   png?rev=2512604)
 * [Decimal Product Quantity for WooCommerce](https://wordpress.org/plugins/decimal-product-quantity-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/decimal-product-quantity-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/decimal-product-quantity-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/decimal-product-quantity-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/decimal-product-quantity-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/decimal-product-quantity-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpgear](https://wordpress.org/support/users/wpgear/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-by-plugin-in-debug_mode/#post-17439947)
 * Status: not resolved