Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1075459

    Hello!

    I own several licenses from Enfold. A typical feature of this site is that the Dashboard always displays the number 1 under Updates and Plugins. There are none. What is the reason? The customers could be irritated.

    Best regards

    Morcy

    • This topic was modified 5 years, 9 months ago by Morcy.
    #1075471

    Hi,

    That’s the bundled LayerSlider Plugin. You can disable (if you don’t use it) it via:

    Dashboard > Theme name > Layout Builder > Integrated (Bundled) LayerSlider Plugin > Remove theme plugin files and slides.

    You can also use this bit of code in your functions.php file which will show Pending updates in Dashboard > Updates

    /**
     * Debug Pending Updates
     *
     * Displays hidden plugin and theme updates on update-core screen.
     */
    function debug_pending_updates() {
    
      // Rough safety nets
      if ( ! is_user_logged_in() || ! current_user_can( 'update_plugins' ) || ! current_user_can( 'update_themes' ) ) 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
      wp_update_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.";
    
      echo "<h2>Pending updates</h2>" . $output;
    }
    add_action( 'core_upgrade_preamble', 'debug_pending_updates' );
    #1075828

    Hi Morcy,

    Thanks @digitalessence for helping out, did you try that out? If not then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #1075929

    Hello!

    Thanks @digitalessence.
    Strange, Layer Slider plugin is not installed. But the Dashboard menu lists Layer Slider.

    See PM!

    Best regards

    Morcy

    #1076714

    @digitalessence, your solution is not working.

    An existing update is still displayed, although all plugins are up to date. Also, the Dashboard Menu displays Layer Slider, even though the plugin is not installed. Can someone check that? PM was sent.

    Best regards

    Morcy

    #1077437

    Hello!

    No Answer? Not relevant? Or what?

    Regards

    Morcy

    #1077681

    Hi,

    Have you manually updated the plugin? Do you own your own version

    Best regards,
    Basilis

    #1077763

    Hi!

    Although I have a separate version, but this is not installed on this site. The plugin is not included in the Enfold Church demo, as far as I know (I imported the demo files). I can not explain why the plugin is still displayed in the Dashboard Menu.

    Best regards

    Morcy

    #1078366

    Hi Morcy,

    The plugin comes with the theme not with the demo.

    You can disable the Layer Slider. Here is how to do it:

    Best regards,
    Victoria

    #1078647

    Hallo Victoria!

    Finally! That is the solution. Many Thanks!

    Best regards

    Morcy

    #1079368

    Hi Morcy,

    Great, I’m glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.