Forums

HTTP API Error (2 posts)

  1. ShadedCS
    Member
    Posted 6 months ago #

    I have having problems when doing anything, really. Every time I try to do something where it connects to the internet, I get a wordpress error that says, "An Unexpected HTTP Error occurred during the API request." Whether it be searching for a template or finding plugins, it does not work.

    Fresh install, nothing custom. Worked before, now it does not.

    Help please.

  2. ZÆN
    Member
    Posted 6 months ago #

    Assuming your fresh install is WP 3.2.1, check out /wp-includes/class-http.php, line 86:

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

    Try changing the 5 to a 30, and report back. Also, check out this thread:
    http://wordpress.org/support/topic/an-unexpected-http-error-occurred-during-the-api-request-on-wordpress-3

Reply

You must log in to post.

About this Topic

Tags