WordPress.org

Ready to get started?Download WordPress

Forums

An Unexpected HTTP Error occurred during the API request (1 post)

  1. trigger571
    Member
    Posted 2 years ago #

    Hi, I have a new WP install and am getting the following error when I try to search a Theme or Plugin using the inbuilt search facility:

    An Unexpected HTTP Error occurred during the API request

    I already tried to modify class-http.php by changing

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

    to

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

    but I still get the error. Any ideas? Thanks

    [ Don't bump, that's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags