Support » Fixing WordPress » WordPress Shows Update When None Available

  • I am having a strange issue where WordPress is showing that 1 update is available yet all the plugins, themes, and translations are updated. I even tested by deleting all the plugins in the plugins folder and the 1 update still shows. What else could be causing this issue? Any help on this would be appreciated.

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


    and the 1 update still shows.

    Which one is it?

    Have you tried:
    Flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. If you are using SiteLock, manage your caching there.
    Flushing Managed host caches. Managed WP hosting often has special caches. If your host has a “Purge Varnish” or “Flush Memcache” tool, try that. You can ask your provider to flush memcache and Varnish for you if necessary.

    Thread Starter coleh


    It doesn’t say which plugin needs updating. I am seeing the issue on localhost along with the actual live production server. I have deleted all plugins and the 1 plugin update still shows. I also have cleared any caching plugin that was being used and it doesn’t solve the issue. Weird thing is that it’s showing across both localhost and on the server.

    Thread Starter coleh


    For some reason, when I deactivated the theme and installed a different theme the issue went away. When reactivating the theme the 1 plugin update no longer appears. There is some libraries included within the theme but I don’t think they should show a plugin update if one is available within the theme?

    Moderator t-p


    When reactivating the theme the 1 plugin update no longer appears.

    Which theme is it? Full name of this theme please?

    I found my solution over here:

    Install the debug_pending_updates() function listed there in your functions.php and follow the instructions, it’ll show which plugin needs an update.

    For me it is a plugin that was embedded within a premium theme (LayerSlider inside of Enfold) and that explains @coleh’s experience that when the theme was changed the update counter went away.

    Just for reference, here was the function mentioned:

     * Debug Pending Updates
     * Crude debugging method that will spit out all pending plugin
     * and theme updates for admin level users when ?debug_updates is
     * added to a /wp-admin/ URL.
    function debug_pending_updates() {
        // Rough safety nets
        if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) return;
        if ( ! isset( $_GET['debug_updates'] ) ) return;
        $output = "";
        // Check plugins
        $plugin_updates = get_site_transient( 'update_plugins' );
        if ( $plugin_updates && ! empty( $plugin_updates->response ) ) {
            foreach ( $plugin_updates->response as $plugin => $details ) {
                $output .= "<p><strong>Plugin</strong> <u>$plugin</u> is reporting an available update.</p>";
        // Check themes
        $theme_updates = get_site_transient( 'update_themes' );
        if ( $theme_updates && ! empty( $theme_updates->response ) ) {
            foreach ( $theme_updates->response as $theme => $details ) {
                $output .= "<p><strong>Theme</strong> <u>$theme</u> is reporting an available update.</p>";
        if ( empty( $output ) ) $output = "No pending updates found in the database.";
        wp_die( $output );
    add_action( 'init', 'debug_pending_updates' );

    I use Enfold as the theme for several websites and have LayerSlider enabled (it comes bundled in Enfold) and have the same issue where WP badges one update pending and the Dashboard>Updates page shows none.

    When checking LayerSlider WP>Options, I indeed find the message “An update is available for LayerSlider WP! You have version 6.7.1. The latest version is 6.7.6.”

    Checking the documentation on LayerSlider at, there is a message:
    “Updating the bundled version in themes
    If you’ve received LayerSlider as a bundled item in your theme, new releases will be provided by the theme author through theme updates, since Auto-Updates won’t work without activating your copy of LayerSlider. However, if you choose the purchase a license for LayerSlider, theme bundled versions can also be activated and updated without reinstalling the plugin.”

    I guess that, as I will not purchase the license for LayerSlider, I will have to swallow this issue until the author of Enfold updates LayerSlider.

    Thank you @majaid. That did the trick! I also have Divi installed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress Shows Update When None Available’ is closed to new replies.