• Hi

    I installed wordpress for my website last night and I am using byethost.com as the hosting provider. When I tried to install a theme or plugin this morning I get the following message:

    “An Unexpected HTTP Error occured during the API request”

    Could anyone please suggest why this is the case and what I should do in order to resolve this.

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • the process is failing here:

    if ( ! $res ) {
    $request = wp_remote_post('https://api.www.ads-software.com/themes/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) );
    if ( is_wp_error($request) ) {
    $res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occured during the API request.</p> <p><a href="?"
    ....

    in a nutshell, its your host.

    upload themes and plugins using an FTP client.

    Hi,

    Check with these options:

    -> disable all installed plugins [specially akismet if it is installed] and have a check..also enable plugin on one by one to find out the culprit..

    -> Assign 766 recursive permissions to wp-contents folder..

    -> Upgrade wordpress to the latest version

    -> Try to install plugins and theme from FTP rather then from wordpress admin area.

    Thanks,

    Shane G.

    lol, do you use a script, shane?

    old fashioned copy and paste ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I am unable to add themes and plugins to my WordPress’ is closed to new replies.