An Unexpected HTTP Error occurred during the API request

Recently i am facing this error while searching a plugins on a wordpress admin dashboard.After do some googling this may be arise during the plugins i have installed recently.The cause of error is too long in the process of requesting the API plugin in the wordpress server so that the operation timed out.

What I have should to do is increase the wordpress timeout limits of requests.Go to wp-includes folder in your wordpress installation and edit http.php file over there.I am using Filezilla to do this.

Open http.php and find below line

Change the number from 5 to 30 as below

Once changed and save it, everything will back to normal again.

Share and Enjoy:
  • Facebook
  • Google Bookmarks
  • RSS
  • Twitter
  • Reddit
  • Digg
  • StumbleUpon
  • Technorati
  • del.icio.us
more posts...

2 Responses to “An Unexpected HTTP Error occurred during the API request”

  1. beliamuda says:

    apa maksud 5 n 30 tu? minit ke? atau saat?

  2. e says:

    @beliamuda
    saat

Leave a Reply