Title: Plugin produces errors in debug mode turned on
Last modified: August 20, 2016

---

# Plugin produces errors in debug mode turned on

 *  Resolved [Air.](https://wordpress.org/support/users/air-1/)
 * (@air-1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-produces-errors-in-debug-mode-turned-on/)
 * Hello:-)
 * This plugin seems very nice. I am right now building theme and I wanted to recommend
   this plugin as compatible with my theme.
 * Unfortunately while **saving options of plugin** or **voting** while **debug 
   mode is on** it produces notices that makes nasty things like(examples):
 *     ```
       Notice:  Undefined variable: file in /wordpress/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 573
       ```
   
 *     ```
       Notice: Use of undefined constant checked - assumed 'checked' in /wordpress/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 255
       ```
   
 *     ```
       Notice: Undefined variable: file in /wordpress/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 573
       Warning: Cannot modify header information - headers already sent by (output started at /wordpress/wp-content/plugins/i-recommend-this/dot-irecommendthis.php:573) in /wordpress/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 415
       ```
   
 * It shouldn’t take long to fix this small issues(BIG in debug mode used by developers
   and some users) and it will for sure only improve quality of this plugin.
 * Thanks!
 * With regards.
 * EDIT:
    Forgot to explain what I mean by debug mode: [http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG](http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG)

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

 *  Plugin Author [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-produces-errors-in-debug-mode-turned-on/#post-3556953)
 * Hello Air,
 * I am using this on my own theme, so not sure how I missed this. Let me fix and
   roll an update soon.
 *  Plugin Author [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-produces-errors-in-debug-mode-turned-on/#post-3556954)
 * Hello,
 * Thanks for letting me know. I have fixed most errors and committed the plugin
   to the WP Repository. You can download the new version from [http://wordpress.org/extend/plugins/i-recommend-this/](http://wordpress.org/extend/plugins/i-recommend-this/)
   and test.
 *  Thread Starter [Air.](https://wordpress.org/support/users/air-1/)
 * (@air-1)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-produces-errors-in-debug-mode-turned-on/#post-3556955)
 * Hello 🙂
 * Great job! High five for you, and thanks for credits;-)
 * With regards.

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

The topic ‘Plugin produces errors in debug mode turned on’ is closed to new replies.

 * ![](https://ps.w.org/i-recommend-this/assets/icon.svg?rev=3333860)
 * [I Recommend This – Love/Like Button for WordPress Posts](https://wordpress.org/plugins/i-recommend-this/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/i-recommend-this/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/i-recommend-this/)
 * [Active Topics](https://wordpress.org/support/plugin/i-recommend-this/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/i-recommend-this/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/i-recommend-this/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Air.](https://wordpress.org/support/users/air-1/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-produces-errors-in-debug-mode-turned-on/#post-3556955)
 * Status: resolved