07 Jan 2010

“An Unexpected HTTP Error occurred during the API request”

Web Design, Development Tips & Tutorials No Comments

I have been getting this error on my client WordPress Admin Dashboard as I tried to install a plugin. A quick fix to the error is to edit http.php file under wp-includes folder of your wordpress site/blog installation.

-Go to you root directory where your wordpress blog/site is installed.

-Go to wp-includes folder/directory. Under the folder/directory, find http.php.

-Download it and open it with php or any html editor.

-Go to line No. 226(for wordpress 2.9) and find

'timeout' => apply_filters( 'http_request_timeout', 5)

, and replace it with

'timeout' => apply_filters( 'http_request_timeout', 30),

.

-Save it and upload it to wp-includes directory.

You are good to GO!!

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

Leave a Reply

Web Design Nairobi,Kenya Website Design, Website Design Kenya,Nairobi Website Design