• Resolved DICKY IBROHIM

    (@dickyibrohim)


    Freesoul Deactivate Plugin Version 1.8.8.7.7.
    WP rocket Version 3.9.3

    When I clear cache, some plugins disable themselves. When I reactivate and clear cache then some plugins disable themselves. This happened continuously until I disabled your Plugin then the problem didn’t happen again. Can you check on your side if this happens too?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi Dicky

    thank you for your thread.

    I suppose WP Rocket has nothing to do with this issue. I think you would have this problem with whatever caching plugin.

    I suspect you have some add-on plugins that depend on other plugins, and the add-ons don’t check properly the presence of the “parent” plugin and disable themselves if they think the parent plugin is disabled.

    I will do an example to clarify what I mean.

    Imagine you have WooCommerce and a woo add-on, let’s call it Woo-Paypal.
    Woo-Paypal checks if WooCommerce is active, if not so, it disables itself and it does it even on the frontend.
    On a specific page, you have disabled WooCommerce but not Woo-Paypal. So when you visit that page Woo-Paypal disables itself and changes the WordPress core option that stores the set of active plugins. Then the plugins that you disabled on that page are globally disabled because Woo-Paypal saves the set of active plugins before Freesoul Deactivate Plugins removes its filter.

    Probably the cache was created without this scenario, and after deleting the cache and visiting the page again the issue occurred.

    Please let me know if you have plugins that depend on other plugins, and if you have disabled somewhere the “parent” plugin without disabling the add-ons.

    If this is confirmed, you should disable also the add-on everywhere you have disabled the parent plugin.

    In the next version, I will add a check that will try to avoid this kind of situation.

    If you still have the same issue after checking the dependencies of the plugin, try to add this line of code in wp-config.php before the comment /* That’s all, stop editing! Happy publishing. */

    define( 'FDP_REMOVE_FILTERS_BEFORE_FIRST_PLUGIN',true );

    Add that line only if you don’t solve it after checking your settings.

    @dickyibrohim

    Thread Starter DICKY IBROHIM

    (@dickyibrohim)

    Thanks for the reply. I tried on another web and the same thing doesn’t happen, maybe it’s true that the existing plugins are linked. I find it strange, usually deactivate 1-2 plugins from your plugin, there is no problem like this where almost all (13-24) plugins disable themselves.

    I am very helpful with your awesome plugin.
    I closed this ticket because I didn’t see any problems on the test site (meaning the problem maybe wasn’t entirely due to your plugin)

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @dickyibrohim

    thank you very much for the information. I’m happy it didn’t happen again.

    In any case, the next version will have some checks for the most popular plugins and their add-ons to avoid this kind of issue.
    It will not be possible anymore to disable for example WooCommerce, but keep active one of its add-ons on the same page. If you disable WooCommerce on a specific page, you also don’t need any of its add-ons. So better to have this feature and prevent this kind of issue.

    Until the next version is public, I suggest you avoid the automatic suggestion of the unused plugins on the homepage. This may trigger the same issue because the actual version disables a single plugin after the other to check if you need it. This means that when it disables the add-on of another plugin, it will trigger the issue.

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

The topic ‘Conflig with WP rocket’ is closed to new replies.