WordPress error during the API request

Here is a fix for a WordPress error which we have seen.

Error: *An Unexpected HTTP Error occurred during the API request*.

If this error appears when trying to view plugins or themes, edit the wp-includes/http.php file.

Change this line:
'timeout' => apply_filters( 'http_request_timeout', 5),

to this:
'timeout' => apply_filters( 'http_request_timeout', 30),

Finally, refresh the Wordpress page.

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

WordPress HTTP Error or upload test error when uploading images

If you run across WordPress errors when you try to upload a file (typically an image), then...

404 Errors after clicking Wordpress links

This is a common issue when a blogs rewrite rules have been altered. You will notice this when...

TimThumb script and WordPress MU

There's an error when using the TimThumb script and WordPress MU. If you link to images hosted...

WordPress preventing you from password protecting a directory?

You wish to password protect a subdirectory using the cPanel icon (or a .htpasswd file), but...

Optimizing Wordpress

Wordpress is currently one of the most popular blogging/CMS applications. Here are some ideas...

Powered by WHMCompleteSolution