Title: Cannot redeclare class WP_HTTP_Response
Last modified: August 30, 2016

---

# Cannot redeclare class WP_HTTP_Response

 *  Resolved [biznickman](https://wordpress.org/support/users/biznickman/)
 * (@biznickman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-wp_http_response/)
 * I’m attempting to generate an oauth token and getting the following error:
 * `PHP Fatal error: Cannot redeclare class WP_HTTP_Response in /var/www/.../wp-
   content/plugins/rest-api/core/wp-includes/class-wp-http-response.php on line 
   15`
 * Any ideas what to do?
 * [https://wordpress.org/plugins/json-rest-api/](https://wordpress.org/plugins/json-rest-api/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-wp_http_response/#post-6851297)
 * Please update to the latest version (v2.0 beta9) of the WP REST API plugin.

Viewing 1 replies (of 1 total)

The topic ‘Cannot redeclare class WP_HTTP_Response’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

## Tags

 * [bugs](https://wordpress.org/support/topic-tag/bugs/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-wp_http_response/#post-6851297)
 * Status: resolved