WordPress.org

Support

Support » How-To and Troubleshooting » Keeps asking me to upgrade to 3.7.1

Keeps asking me to upgrade to 3.7.1

  • Even though I’ve already upgraded to 3.7.1. I get repeated messages at the top of the admin pages:
    WordPress 3.7.1 is available! Please update now.
    And when I click on that, it says is it all upgraded.
    I’ve used Network Admin -> Dashboard, and clicked on Updates -> Available Updates where it always says:
    You have the latest version of WordPress. Future security updates will be applied automatically.

    So at that point, the system knows it has been upgraded. Not sure why every hour or so, it “forgets” that and both my sites end up reporting that it is out of date.

    The dashboard periodically shows:
    You are using WordPress 3.7.1. [Update to 3.7.1]
    Which makes no sense.
    Clicking on [Update to 3.7.1] says:
    You have the latest version of WordPress.
    and that everything is up to date.

    This does not seem to cause any functional problems, but is just annoying. Is there any manual fix to suppress this incorrect message?
    I noticed this or similar issues have been reported for nearly every release of WordPress, so this seems like an ongoing bug. But none of the issues have any fix or workaround suggested, so hoping someone can provide some tips on how to fix this now.

Viewing 15 replies - 1 through 15 (of 31 total)
  • Moderator t-p

    @t-p

    Have you tried:
    – To rule out any theme-specific issue, try switching to the unedited default, core-bundled Theme (such as Twenty Twelve or Twenty Thirteen) for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).

    bwooster47

    @bwooster47

    The steps above would be quite painful – I’d have to take my site down, wait for hours to see if that message pops up again.

    Clearly, this should be bug – showing a message like this:

    You are using WordPress 3.7.1. Update to 3.7.1

    Both are same values! Using X and Update to X. Why show the Update in this case?

    Are there some files on disk I can look at or database values to see why WordPress is showing this on the top:
    WordPress 3.7.1 is available! Please update now.

    It is not asking me to upgrade any plugin – it is asking to update WordPress itself.

    I did see a plugin update message once, but that was legitimate, and there was a update for a plugin available. Once plugin was upgraded, I never saw the plugin update message again, but continue to see the “Update to 3.7.1” again and again.

    esmi

    @esmi

    Forum Moderator

    Clearly, this should be bug

    Actually, it indicates that there is a problem on your site. There is no magic bullet in these situations. The steps outlined above are just the start of basic troubleshooting and is a process of elimination deliberately designed to locate the root cause as quickly as possible by first removing the most obvious and common culprits via a series of (often) temporary steps.

    Do you want to locate and, hopefully, fix the problem on your site? If “yes”, then please help us to help you and carry out the changes that we suggest.

    Your theme & plugin settings are saved in your database and should be retained for future use.

    bwooster47

    @bwooster47

    Thanks, so according to you this is a user problem and no way for WordPress to help debug this.

    I guess you can close this issue and I’ll just live with this.

    For those who build WordPress and are interested in helping fix this without asking users to take their site down for hours, here’s what I can suggest:
    1) Add a debug flag. And/or always log somethings to a file. When that message fires, and it looks suspicious (string match “from” and “to” should be the trigger), it should note what data is used to fire that message.
    2) Then ask users to look at the log and report what they see in the log.

    For now, I suspect it has to do with multi-site install and/or multiple languages. This is not the first time people have reported this – a search shows a number of users reporting this issue over various versions.

    Moderator t-p

    @t-p

    As @esmi explained: “it indicates that there is a problem on your site. There is no magic bullet in these situations…”

    – If the above troubleshooting steps fail to resolve the issue, you may try manually updating WP and see if that resolves the issue.

    Try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!
    Always backup everything (including your database) before doing any actions, just in case.

    esmi

    @esmi

    Forum Moderator

    Add a debug flag.

    There already is one but we do not recommend using it on a live, production site. Did you try checking your site’s error logs for messages?

    bwooster47

    @bwooster47

    Another person reported this (in the
    multisite switcher forum)

    I have started to dig into the code – my main objective is to hack it so that this “crying wolf” buggy message is never seen. That would suppress the buggy code in WordPress, and still allow me to use the correct code in WordPress which does know when something is really available for upgrade (the button for Update works fine, it is the update-count and update-nag div class that is buggy).

    For now, found this HTML that I hope to suppress by whatever it takes:

    <div class='update-nag'><a href="http://codex.wordpress.org/Version_3.7.1">WordPress 3.7.1</a> is available! <a href="http://mp.aczoom.com/wp-admin/network/update-core.php">Please update now</a>.</div>
    
    	<ul class='wp-submenu wp-submenu-wrap'><li class='wp-submenu-head'>Updates <span class='update-plugins count-1' title='1 WordPress Update'><span class='update-count'>1</span></span></li><li class="wp-first-item"><a href='update-core.php' class="wp-first-item">Available Updates</a></li><li><a href='upgrade.php'>Upgrade Network</a></li></ul></li>

    teszter

    @teszter

    Same problem on our site. We were never had problems with the updates before 3.7
    Nothing has changed on our server so I guess it is a WordPress bug.
    Still looking for solution…

    Same problem on my site! Any ideas??

    ozaklad

    @ozaklad

    I’m having the exact same problem.
    In fact, I have two sites that mirror each other in every way (theme, plugins, structure, content) with the exception of language. One is fine, the other keeps on asking me to update to 3.7.1, even though it’s already 3.7.1. But when I go into the update tab, the request to update disappears.

    Switching to another theme is not an option for me, as too much of the website functionality is tied to the theme (Headway 2.0.15.) I just can’t afford losing it all.

    Moderator t-p

    @t-p

    @claudi.fa,
    @ozaklad:

    Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, hosts, plugins, theme, configurations, etc. Posting in an existing topic prevents from being able to track issues by topic. Also, it’s easier for volunteers to help you if you have your own topic. Thus, if you start your own thread per the forum guidelines , it is likely you may get more responses specific to your issue. 🙂

    I have seen this issue on two sites that I manage. In both instances I use the en_GB version of WordPress since I wanted to change some text in language files. I’ve noticed that if I upgrade (using wp-cli), my installations are upgraded with the en_US version of WordPress. So, WordPress reports that it’s up to date, 3.7.1, but wants to update to the latest version, 3.7.1.

    If I download the en_GB version and overwrite the installed files, WordPress stops nagging me to update.

    I maintain all my sites with version control therefore I am able to see which files were updated. The only change of any significance was wp-includes/version.php. The single change was this:

    * @global string $required_mysql_version
    Add a comment to this line
      */
     $required_mysql_version = '5.0';
    +
    +$wp_local_package = 'en_GB';
    bwooster47

    @bwooster47

    That looks like a good tip. But couldn’t you just change WPLANG in wp-config.php instead of in version.php (since wp-config.php won’t get overwritten on update, while version.php will).

    Not fully sure yet, but this bug feels like it is a issue related to wp-content/languages and/or WPLANG.

    I have the default English version installed, but have fr_FR language files copied from the fr package into wp-content/languages – manual install.

    I can’t change WPLANG in config because this is a multisite. And for the same reason, changing version.php seems incorrect since I need both English and French. (Maybe I can set WPLANG to a array?)

    But maybe getting close to figuring this bug out … hopefully…

    Hey folks,

    here is what helped me:
    Go to the wp_options table in your database and find:

    _site_transient_update_core

    I removed the entry there which looks something like this:

    O:8:"stdClass":4:{s:7:"updates";a:1:{i:0;O:8:"stdClass":10:{s:8:"response";s:7:"upgrade";s:8:"download";s:49:"http://de.wordpress.org/wordpress-3.7.1-de_DE.zip";s:6:"locale";s:5:"de_DE";s:8:"packages";O:8:"stdClass":5:{s:4:"full";s:49:"http://de.wordpress.org/wordpress-3.7.1-de_DE.zip";s:10:"no_content";b:0;s:11:"new_bundled";b:0;s:7:"partial";b:0;s:8:"rollback";b:0;}s:7:"current";s:5:"3.7.1";s:7:"version";s:5:"3.7.1";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.6";s:15:"partial_version";s:0:"";}}s:12:"last_checked";i:1386396642;s:15:"version_checked";s:5:"3.7.1";s:12:"translations";a:0:{}}

    WordPress now automatically builds a new entry.
    That solved the problem for me.
    … hope that helps

    Any updates on the issue, guys?

    I seems to be having the same symptoms that both @wpranger and @bwooster47 had.
    It started with 3.7.1 and persists until now — 3.8.

    Neither claudi.fa‘s solution nor copying over updated language files (wp-content/languages) haven’t worked out for me.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Keeps asking me to upgrade to 3.7.1’ is closed to new replies.
Skip to toolbar