Title: Logs in debug.log &#8211; PHP Notice autoptimizeExtra.php
Last modified: October 26, 2018

---

# Logs in debug.log – PHP Notice autoptimizeExtra.php

 *  Resolved [kibus90](https://wordpress.org/support/users/kibus90/)
 * (@kibus90)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/logs-in-debug-log-php-notice-autoptimizeextra-php/)
 * [26-Oct-2018 17:20:20 UTC] PHP Notice: Undefined index: host in /public_html/
   wp-content/plugins/autoptimize/classes/autoptimizeExtra.php on line 476
    [26-
   Oct-2018 17:34:20 UTC] PHP Notice: Undefined index: host in /public_html/wp-content/
   plugins/autoptimize/classes/autoptimizeExtra.php on line 476
 * Helo,
    Sometimes I get the above logs. Could someone help me with it how can 
   I solve it to avoid get it? 🙂 I know that these are only “notice”, but when 
   I see “debug.log” I always think that there is something wrong with my website
   😀 I am sick at this point.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/logs-in-debug-log-php-notice-autoptimizeextra-php/#post-10820606)
 * If I’m not mistaking this has been fixed in the version on Github [@kibus90](https://wordpress.org/support/users/kibus90/),
   if you want you can [download it here](https://github.com/futtta/autoptimize/archive/master.zip),
   install it (disable the one you have now, do take into account they will both
   be listed as 2.4.1, I haven’t upped the version string yet) and take it out for
   a spin 🙂

Viewing 1 replies (of 1 total)

The topic ‘Logs in debug.log – PHP Notice autoptimizeExtra.php’ 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/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/logs-in-debug-log-php-notice-autoptimizeextra-php/#post-10820606)
 * Status: resolved