An Unexpected HTTP Error occurred during the API request.
-
Trying to add or find plugins through the control panel I get the slightly infamous error:
An Unexpected HTTP Error occurred during the API request.
I went into wp-includes/class-http.php and changed the following line to allow for a longer timeout (30s instead of the default 5s):
'timeout' => apply_filters( 'http_request_timeout', 30),
But it still doesn’t work and I get the same error.
Any help would be appreciated!
- The topic ‘An Unexpected HTTP Error occurred during the API request.’ is closed to new replies.