Title: Error in debug mod
Last modified: August 31, 2016

---

# Error in debug mod

 *  [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/)
 * Can you correct the code.
    Thanks `Notice: Undefined variable: dev_mode in /srv/
   data/web/vhosts/mysite.com/htdocs/wp-content/plugins/cloudflare/cloudflare.php
   on line 329`
 * [https://wordpress.org/plugins/cloudflare/](https://wordpress.org/plugins/cloudflare/)

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

 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217414)
 * Hi madvic,
 * What version of the plugin are you using?
 * Thanks,
    John
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217417)
 * The last one
 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217423)
 * 1.3.24?
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217425)
 * Yes it is !
 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217491)
 * Is this preventing the plugin from loading? Are your domain, api key, and email
   showing up in the plugin?
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217494)
 * the problem comes from the management of the key missing variable.
 *     ```
       Notice: Undefined variable: dev_mode in /srv/data/web/vhosts/mysite.com/htdocs/wp-content/plugins/cloudflare/cloudflare.php on line 329
       ```
   
 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217500)
 * Yes, I’m aware of what the error means. I’m not able to reproduce your issue 
   though so I’m trying to figure out what state your plugin is in.
 * Does the plugin load or do you just see the error?
 * If the plugin loads does the domain, api key, and email show up prepopulated 
   in the form or are they empty?
 * Thanks,
    John
 *  [Brandon Hubbard](https://wordpress.org/support/users/bhubbard/)
 * (@bhubbard)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217501)
 * Hey John,
 * This bug only appears when you first visit the CloudFlare settings page after
   first activation. I actually had a code fix in my repo on github, you can see
   the fix here:
 * [https://github.com/bhubbard/cloudflare/commit/6e8d5764951dadac7b76230b016653ecec6c6c35](https://github.com/bhubbard/cloudflare/commit/6e8d5764951dadac7b76230b016653ecec6c6c35)
 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217524)
 * [@brandon](https://wordpress.org/support/users/brandon/) – Thanks! We’ll get 
   this fixed as well.
 *  Thread Starter [madvic](https://wordpress.org/support/users/madvic/)
 * (@madvic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217526)
 * thank You

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

The topic ‘Error in debug mod’ is closed to new replies.

 * ![](https://ps.w.org/cloudflare/assets/icon-256x256.png?rev=2471183)
 * [Cloudflare](https://wordpress.org/plugins/cloudflare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudflare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudflare/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudflare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudflare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudflare/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [madvic](https://wordpress.org/support/users/madvic/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/error-in-debug-mod-7/#post-7217526)
 * Status: not resolved