Title: Debug Error: Undefined index
Last modified: May 11, 2018

---

# Debug Error: Undefined index

 *  [michaelnorth](https://wordpress.org/support/users/michaelnorth/)
 * (@michaelnorth)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/debug-error-undefined-index/)
 * Hi,
 * As soon as I activate Autoptimize, I get the error below in debug. This happens
   regardless of Autoptimize settings and with NO other plugins running. I’m using
   the latest version of WP with the default 2017 theme. Seems like a bug in Autoptimize.
 * Notice: Undefined index: host in /home/chicoautorepair/public_html/wp-content/
   plugins/autoptimize/classlesses/autoptimizeExtra.php on line 146

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/debug-error-undefined-index/#post-10271425)
 * Well, the good thing it’s but a notice, not a warning or an error B-)
 * But what (if any) settings do you have in Autoptimize -> Extra -> “Preconnect
   to 3rd party domains (advanced users)” [@michaelnorth](https://wordpress.org/support/users/michaelnorth/)?

Viewing 1 replies (of 1 total)

The topic ‘Debug Error: Undefined index’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/debug-error-undefined-index/#post-10271425)
 * Status: not resolved