WP_CACHE in wp-config issue | WordPress.org

[ad_1]

Hello, there’s a problem when a theme has a cache control, such as the Themify ones, because the SG plugin doesn’t delete its own string inside the wp-config file after it has been deactivated.

I mean this:

define('WP_CACHE',true);

When you deactivate SiteGround Optimizer, that string is set to “false” instead of just being deleted. So when you activate another cacheing option, such as another plugin or in the theme, an error in shown both in backend and frontend.

I think it would be better to delete any string previously written by the SG Optimizer when it is not in use.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer