Categories
Errors Fix Website Design Wordpress Wordpress Plugins Wordpress Web Design

WordPress Fix: An Unexpected HTTP Error occurred during the API request.

“An Unexpected HTTP Error occurred during the API request.” is a common issue, when searching for a plugin or even installing a plugin, this is how you fix it!

  1. Login to your FTP server
  2. Go to wp-includes and edit class-http.php
  3. Find: ‘timeout’ => apply_filters( ‘http_request_timeout’, 5),
  4. Change the value “5” to “30”, the value is actually is the number of seconds before the server times out.
  5. It should be this: ‘timeout’ => apply_filters( ‘http_request_timeout’, 30),

And that’s it! Your An Unexpected HTTP Error occurred during the API request. error should no go away!

This error is usually caused by high load on the WordPress servers or when they’re having technical difficulties.

One reply on “WordPress Fix: An Unexpected HTTP Error occurred during the API request.”

Leave a Reply

Your email address will not be published. Required fields are marked *