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