Undefined index: debug
-
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.
- The topic ‘Undefined index: debug’ is closed to new replies.