• Resolved megbru

    (@megbru)


    I installed EUM about a week ago after discovering that Elementor was auto-updating and causing my site to break. However, EUM doesn’t actually seem to be stopping any plugins from updating.

    I’ve tried Plugin settings:
    – Manually update
    – Disable auto updates
    – Choose per plugin (and then Auto Updates “Off” for each on the Plugin page)

    On the Plugin tab I also specifically selected “Block” for Elementor.

    However plugins are still continually auto-updating. 🙁 Elementor is my main worry at t the moment because it’s causing the site to break, but in the backup I keep restoring to, there are 10 plugins needing updating – within a day, all of them have updated.

    I’m on WordPress 6.0

    What am I doing wrong? Please help! And thank you in advance for any input!

    (I’m about to try switching off updates in my wp-config file, but I would have much preferred to do it with the plugin)

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support vupdraft

    (@vupdraft)

    On your main Plugins page, have you got Elementor updates disabled?

    Thread Starter megbru

    (@megbru)

    Thank you for your reply.

    Yes – auto-updates are disabled for Elementor (as per the Automatic Updates column in the main plugins page, I’m assuming that’s what you mean?)

    I have Wordfence installed, and read elsewhere that that can cause a conflict. However, I’ve tried both putting Wordfence into Learning Mode, and deactivating it completing (with EUM installed and set to block Elementor updates) – but Elementor still updated. 🙁

    Plugin Support vupdraft

    (@vupdraft)

    Are you using a Pro or free Elementor?

    Thread Starter megbru

    (@megbru)

    Both are installed, but it’s the free Elementor that keeps auto-updating (from v2.9.8 to 3.6.6 I think). Pro is also an older version – v2.8.5

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    It seems that elementor is forcing the update regardless. As this issue was present before installing EUM, I don’t believe the issue is with EUM but rather with elementor so I would advise contacting their support.

    You could try adding the following to your wp-config

    You could try adding the
    function block_auto_update_specific_plugins ( $update, $item ) {
    // Array of plugin slugs to not auto-update
    $plugins = array (
    ‘elementor’,
    ‘buddypress’,
    );
    if ( in_array( $item->slug, $plugins ) ) {
    // never update plugins in this array
    return false;
    } else {
    // Else, use the normal API response to decide whether to update or not
    return $update;
    }
    }
    add_filter( ‘auto_update_plugin’, ‘auto_update_specific_plugins’, 10, 2 );`

    Thread Starter megbru

    (@megbru)

    Ok thank you for your suggestion. I’m going to give it a try.

    Thread Starter megbru

    (@megbru)

    Unfortunately the above didn’t work. It creates the error:
    This page isn’t working right now
    [website url] can’t currently handle this request.
    HTTP ERROR 500

    Here’s the code exactly as I entered it:

    function block_auto_update_specific_plugins ( $update, $item ) {
    // Array of plugin slugs to not auto-update
    $plugins = array (
    ‘elementor’,
    );
    if ( in_array( $item->slug, $plugins ) ) {
    // never update plugins in this array
    return false;
    } else {
    // Else, use the normal API response to decide whether to update or not
    return $update;
    }
    }
    add_filter( ‘auto_update_plugin’, ‘auto_update_specific_plugins’, 10, 2 );`

    Unfortunately I don’t know enough about WP/php to be able to troubleshoot if there’s a syntax error in the code or something? 😐

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Apologies, try this but list the plugins that you want to update (i.e. do not include elementor in the list)

    function auto_update_specific_plugins ( $update, $item ) {

    // Array of plugin slugs to always auto-update
    $plugins = array (
    ‘akismet’,
    ‘js_composer’,
    ‘contact-form-7’,
    ‘duplicate-page’,
    ‘captcha’,
    ‘syntaxhighlighter’,
    ‘tinymce-advanced’
    );

    if ( in_array( $item->slug, $plugins ) ) {
    return true; // Always auto-update plugins in this array
    } else {
    return $update; // Else, use the normal API response to decide whether to update or not
    }
    }
    add_filter( ‘auto_update_plugin’, ‘auto_update_specific_plugins’, 10, 2 );`

    Thread Starter megbru

    (@megbru)

    Thank you for your suggestion but I’ve managed to resolve the problem – though not through working out how to block Elementor from updating unfortunately!

    For future ref if anyone has the same issue, the problem seemed to be that Elementor Free and Pro ended up on different major versions (v3 free, v2 pro). Nothing I did could stop Free from updating, but fortunately my developer offered to upgrade my Pro version to v3 too.

    Seems Elementor somehow has the ability to override the auto-update settings. 😐

    FYI though I didn’t try @vupdraft’s last suggestion above.
    Thank you again @vupdraft for your sharing your knowledge!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Automatic Updates are Running Despite using EUM’ is closed to new replies.