• When updating my site I encountered the following errors:

    Preparing to install the latest version…

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-admin/includes/update.php on line 117
    Enabling Maintenance mode…

    Copying the required files…

    Disabling Maintenance mode…

    Upgrading database…

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 119

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 287

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 435

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 119
    WordPress updated successfully

    Welcome to WordPress 3.9.1. You will be redirected to the About WordPress screen. If not, click here.

    I have tried reinstalling automatically and manually and I still get that error when upgrading or reinstalling – what is the deal – is it something I should be worried about?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Try:
    – switching to the default theme automatically by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder and the wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    Thread Starter webslugger

    (@webslugger)

    Thanks for the reply. I did all of those things as you suggested, and am still receiving this error when I try to re-install 3.9.1:

    Downloading update from http://downloads.wordpress.org/release/wordpress-3.9.1-no-content.zip…

    Unpacking the update…

    Verifying the unpacked files…

    Preparing to install the latest version…

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-admin/includes/update.php on line 117
    Enabling Maintenance mode…

    Copying the required files…

    Disabling Maintenance mode…

    Upgrading database…

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 119

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 287

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 435

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/mysite/public_html/wp-includes/update.php on line 119
    WordPress updated successfully

    Welcome to WordPress 3.9.1. You will be redirected to the About WordPress screen. If not, click here.

    Did you perhaps miss the part where I suggested:

    – re-uploading all files & folders – except the wp-content folder and the wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    Thread Starter webslugger

    (@webslugger)

    Thanks – but I did do those steps. In fact, I went through all of the steps twice

    Then why did you try to use the 1-click update?

    Thread Starter webslugger

    (@webslugger)

    because I was still gettting the above errors when updating plugins, etc., and you should be able to reinstall at any time without error, correct? I’ve been using WordPress for MANY years, and have never had this issue.

    Have you contacted your hosts about it?

    Thread Starter webslugger

    (@webslugger)

    it isn’t a hosting issue – it is a wordpress issue. I downgraded to 3.8.3 and all issues have disappeared. Looking on the forums there seem tobe way too many issues with 3.9.1, so I will wait to update

    Just checking to see if you have updated yet and resolved this issue?

    We just setup 3.9.2. We were receiving same errors when clicking Plugins – Installed Plugins and Appearance – Themes. Error codes 435, 287, 119 and 77 were in the wp-content/debug.log. To fix this (I first commented out $url = $http_url = ‘http://api.wordpress.org/themes/update-check.1.1’; routine. I commented block down to after – wp_remote_retrieve_code( $raw_response ) )
    return false;

    I reran and got a different error. Then I took out my comment marks saved Update.php and I no longer got the error. I tried the same thing for the “/plugins/update-check.1.1” block of code and that fixed it.

    My guess is the Update.php syntax is correct but file is corrupt in certain areas. By backspacing and resaving near the block of code throwing error this takes out whatever the corruption was out. We are running RHLinux with Apache.

    This is what happens when shared hosting providers (apparently quite commonly) don’t allow secure connections to WordPress.org.

    using wp4.1 and am getting:

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in C:\xampp\htdocs\testFolder\wp-includes\update.php on line 295

    Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in C:\xampp\htdocs\testFolder\wp-includes\update.php on line 457

    And this is on a local sandbox.
    and when i tried to go to appearance > themes…i get

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cdi\wp-includes\class-http.php on line 1511

    Any solutions yet?
    thx
    D

    Am going to add that i have allowed this in the firewall settings. and tried to re-install a couple of times over.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    pdxDaniela, please start your own thread rather than jumping into a 4-month-old unrelated thread: https://wordpress.org/support/forum/how-to-and-troubleshooting#postform

    Since it was still open, figured it’d be ok
    but sure, will start a new thread.
    D

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘error when upgrading from 3.9 to 3.9.1’ is closed to new replies.