Title: Undefined index: debug
Last modified: August 30, 2016

---

# Undefined index: debug

 *  [Erik Ford](https://wordpress.org/support/users/wearepixel8/)
 * (@wearepixel8)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/undefined-index-debug-1/)
 * I wanted to drop a FYI regarding a recent hiccup I encountered. When updating
   the Writing settings, I get the following error message:
 * `Notice: Undefined index: debug in /[redacted]/wp-content/plugins/wp-bitly/includes/
   class.wp-bitly-admin.php on line 191`
 * I checked out the code and changed the following
 * `$input['debug'] = ('1' == $input['debug']) ? true : false;`
 * to
 * `$input['debug'] = ( isset( $input['debug'] ) ) ? $input['debug'] : '';`
 * which seemed to solve the error. I have debug turned off by default unless I 
   am in the process of building something.
 * For full transparency, everything was working fine with the plugin until I installed
   and activated the WordPress Rainbow Hilite plugin which has its own settings 
   section on this page. I don’t know if either are related but I figured you should
   be armed with as much information as possible.
 * [https://wordpress.org/plugins/wp-bitly/](https://wordpress.org/plugins/wp-bitly/)

The topic ‘Undefined index: debug’ is closed to new replies.

 * ![](https://ps.w.org/wp-bitly/assets/icon.svg?rev=3272740)
 * [Bitly's Wordpress Plugin](https://wordpress.org/plugins/wp-bitly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bitly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bitly/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bitly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bitly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bitly/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Erik Ford](https://wordpress.org/support/users/wearepixel8/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/undefined-index-debug-1/)
 * Status: not resolved