Title: Error on update with debug on
Last modified: May 1, 2019

---

# Error on update with debug on

 *  Resolved [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/)
 * Hi,
 * I ran an update and got the following error:
 * `Undefined index: autoptimize_extra_checkbox_field_5`
 * I turned off debug mode and it went away so it’s not a critical issue.

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484340)
 * OK, what file & what line did the error point to? That way I know where to add
   some checks (array_key_exists() or something similar) 🙂
 *  Thread Starter [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484388)
 * Hey [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/)
 * I should have checked but I couldn’t tell you now. I thought maybe it would correct
   itself if I just went to the settings page and hit save, and that did it.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484467)
 * No worries, I’ll have a look at the code, maybe I can find the likely culprit
   line that way 🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484505)
 * OK, [this](https://github.com/futtta/autoptimize/commit/2862861152f603aee77847e2c5c8e4e7e453a9a5)
   should fix it 🙂
 *  Thread Starter [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484537)
 * Thanks! 🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484545)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

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

The topic ‘Error on update with debug on’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-update-with-debug-on/#post-11484545)
 * Status: resolved