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

---

# [Plugin: WP JS] Undefined index: HTTP_ACCEPT_ENCODING

 *  [moltar](https://wordpress.org/support/users/moltar/)
 * (@moltar)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-js-undefined-index-http_accept_encoding/)
 * I think there is a minor bug in the code. I get the following error occasionally:
 * PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING
 * It’s probably because the server value is not set and you are trying to substr
   it.
 * [http://wordpress.org/extend/plugins/wp-js/](http://wordpress.org/extend/plugins/wp-js/)

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

 * 0 replies
 * 1 participant
 * Last reply from: [moltar](https://wordpress.org/support/users/moltar/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-js-undefined-index-http_accept_encoding/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
