Admin-Ahead Community

Linux => General Linux => Topic started by: Aby on April 16, 2014, 06:39:56 am

Title: HTTP Error occurred during the API request
Post by: Aby on April 16, 2014, 06:39:56 am
HTTP Error occurred during the API request

It’s very simple just for begin go to the Installed Plugins in your admin page and delete the Bookmarks if you installed it.

Code: [Select]
1 – go to the FTP for your website

2 – go to the wp-includes directory and open the class-http.php go to the line number 86 find number 5 Increase to 60. ’timeout’ => apply_filters( ‘http_request_timeout’, 60),

3 – go to the wp-admin/includes/plugin-install.php go to the line number 44 find the number 15 Increase to 60. $request = wp_remote_post(‘http://api.wordpress.org/plugins/info/1.0/’, array( ‘timeout’ => 60, ‘body’ => array(‘action’ => $action, ‘request’ => serialize($args))) );
Please wait for some seconds and click retry again or refresh the page.

----