Title: settings errors with WP_DEBUG enabled
Last modified: August 30, 2016

---

# settings errors with WP_DEBUG enabled

 *  [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/settings-errors-with-wp_debug-enabled/)
 * A heads-up for you…
 * Submitting the settings page, with both the _Use Default Category_ and _Use Post
   Taxonomy_ checkboxes **unchecked**, results in following errors
 *     ```
       Notice: Undefined index: wp_mcm_use_post_taxonomy in /home/..../wp-content/plugins/wp-media-category-management/include/class-wp-mcm-plugin.php on line 855
   
       Notice: Undefined index: wp_mcm_use_default_category in /home/...../wp-content/plugins/wp-media-category-management/include/class-wp-mcm-plugin.php on line 856
       ```
   
 * I suspect that you simply need to check any of your checkbox variables (there
   are currently 4) for
 *     ```
       $newinput['...'] = empty( $input['...'] ) ? 1 : 0;
       ```
   
 * rather than just trimming a possibly non-existent variable?
 * [https://wordpress.org/plugins/wp-media-category-management/](https://wordpress.org/plugins/wp-media-category-management/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [DeBAAT](https://wordpress.org/support/users/debaat/)
 * (@debaat)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/settings-errors-with-wp_debug-enabled/#post-6382597)
 * Hai,
 * Thanks for reporting this issue.
    Wonder how it could have passed without noticing
   myself.
 * I’ll fix it in the next release.
 * Gr.
    Jan

Viewing 1 replies (of 1 total)

The topic ‘settings errors with WP_DEBUG enabled’ is closed to new replies.

 * ![](https://ps.w.org/wp-media-category-management/assets/icon-256x256.png?rev
   =2908889)
 * [WP Media Category Management](https://wordpress.org/plugins/wp-media-category-management/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-media-category-management/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-media-category-management/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-media-category-management/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-media-category-management/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-media-category-management/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DeBAAT](https://wordpress.org/support/users/debaat/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/settings-errors-with-wp_debug-enabled/#post-6382597)
 * Status: not resolved