Title: [Plugin: Autoptimize] Undefined index: HTTP_ACCEPT_ENCODING
Last modified: August 19, 2016

---

# [Plugin: Autoptimize] Undefined index: HTTP_ACCEPT_ENCODING

 *  [peterve](https://wordpress.org/support/users/peterve/)
 * (@peterve)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-autoptimize-undefined-index-http_accept_encoding/)
 * I’m getting a lot of php messages in my log file, containing the following text:
 *     ```
       PHP Notice:  Undefined index:  HTTP_ACCEPT_ENCODING in /xxx/wpblog/wp-content/cache/autoptimize/autoptimize_1bc9371c99673613f36c1ac61f00c383.php on line 3
       ```
   
 * what is wrong here & how can this be fixed ?
 * [http://wordpress.org/extend/plugins/autoptimize/](http://wordpress.org/extend/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  [turl](https://wordpress.org/support/users/turl/)
 * (@turl)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-autoptimize-undefined-index-http_accept_encoding/#post-1218984)
 * This notice occurs because Autoptimize is using a server variable that is not
   always set. It will be fixed in the next Autoptimize version.
 * Thanks for reporting!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Autoptimize] Undefined index: HTTP_ACCEPT_ENCODING’ is closed
to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [turl](https://wordpress.org/support/users/turl/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-autoptimize-undefined-index-http_accept_encoding/#post-1218984)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
