Title: Plugin creating huge debug.log file
Last modified: February 4, 2020

---

# Plugin creating huge debug.log file

 *  Resolved [advantagemediagroup](https://wordpress.org/support/users/advantagemediagroup/)
 * (@advantagemediagroup)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-creating-huge-debug-log-file/)
 * For whatever reason your plugin is filling up the WordPress debug.log file with
   the following error:
 * “PHP Notice: id was called incorrectly. Product properties should not be accessed
   directly. Backtrace…”
 * The debug.log file was 11GB when I checked, I simply deleted it, but it has resumed
   filling up again. I have just turned off the debug.log to prevent this from happening,
   but this isn’t ideal.
 * Any idea how to prevent the error, or at the very least from it happening so 
   much?
 * Any assistance would be greatly appreciated.
 * Kind regards,
 * Sam
    [http://thisisadvantage.com/](http://thisisadvantage.com/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [PluginEver](https://wordpress.org/support/users/pluginever/)
 * (@pluginever)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-creating-huge-debug-log-file/#post-12395606)
 * Hi [@advantagemediagroup](https://wordpress.org/support/users/advantagemediagroup/),
   
   Sorry for the inconvenience. It is throwing a notice as it has support for the
   older version of WooCommerce. We will drop this support in our next update and
   it will solve this problem.
 * BTW it is not ideal to turn on the debug log for a live site. While it is very
   important for the development site. Finally, thanks for sharing this with us.
   We will take care of it.

Viewing 1 replies (of 1 total)

The topic ‘Plugin creating huge debug.log file’ is closed to new replies.

 * ![](https://ps.w.org/wc-min-max-quantities/assets/icon-256x256.png?rev=3145695)
 * [Min Max Quantities - Set Minimum/Maximum Quantity & Price Limits with Step Control for WooCommerce](https://wordpress.org/plugins/wc-min-max-quantities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-min-max-quantities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-min-max-quantities/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-min-max-quantities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-min-max-quantities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-min-max-quantities/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [PluginEver](https://wordpress.org/support/users/pluginever/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-creating-huge-debug-log-file/#post-12395606)
 * Status: resolved