Title: Debugger notice
Last modified: August 21, 2016

---

# Debugger notice

 *  Resolved [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/)
 * Theme TwentyFourteen with active DEBUG says:
    `Notice: Undefined variable: genericon_rotate
   in /path/to/genericons.php on line 116`
 * TIP: It’s a silly little bug. Better test your plugins fully with debugger before
   publishing.

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/debugger-notice/?output_format=md) [1](https://wordpress.org/support/topic/debugger-notice/?output_format=md)
2

 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675902)
 * Gee…
    I’ll reproduce the bug:
 * In your plugin comment line 112 `$genericon_rotate = 'genericon-rotate-normal';`
 * Now you have an undefined var.
 * Create a post with this single line in the content area:
    `[genericon icon=flag]`
 * View the post. Voilá.
 * I end this conversation: have better things to do.
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675903)
 * Where does the error display?
 * I did that and did not get an error in the WP debug bar, debug output, or debulg
   log. Hence my confusion. That’s why I keep asking where 🙂
 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675905)
 * OK.
    With júst WP_DEBUG true:
 * [Look at this page on a test site](http://my2014.violacase.nl/undefined-var/)
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675921)
 * Thank you. I still can’t reproduce that, but I’m gonna keep trying since it implies
   an outlier issue with code in general I need to be aware of.
 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675923)
 * My last words Mika.
 * It’s very simple to reproduce, but please follow the steps I describe.
 * Step 1. Read [this](https://codex.wordpress.org/WP_DEBUG).
    Step 2. Be sure that
   in the file wp-config.php (in the root of your site) this line exists: `define('
   WP_DEBUG', true);` Step 3. Follow the steps I mentioned earlier. E.g.:
 * > In your plugin **comment** or DELETE line 112 $genericon_rotate = ‘genericon-
   > rotate-normal’;
   > (Now you have an undefined var)
   > Create a post with this single line in the content area:
   >  [genericon icon=flag]
   > Save and view the post. You’ll see WordPress echoes the bug notice.
 * It that doesn’t give you the solution I’m helpless and you have to seek for others
   who would like to help you.
 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675924)
 * Yeah, I did all that. That’s why I’m confiused too! 😀

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/debugger-notice/?output_format=md) [1](https://wordpress.org/support/topic/debugger-notice/?output_format=md)
2

The topic ‘Debugger notice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genericond_c48260.svg)
 * [Genericon'd](https://wordpress.org/plugins/genericond/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genericond/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genericond/)
 * [Active Topics](https://wordpress.org/support/plugin/genericond/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genericond/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genericond/reviews/)

 * 21 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/debugger-notice/page/2/#post-4675924)
 * Status: resolved