define(‘WP_CACHE’, true); is not set in wp-config.php
-
Hi Folks,
At the top of the Cache Enabler Settings page I get the warning:
define('WP_CACHE', true); is not set in wp-config.php.
And on the WP/ tools/ health check/ info/ WordPress/ WordPress Constants it reads:
WP_CACHE Disabled
However my wp-config.php contains the line:
define('WP_CACHE', true); // Added by Cache Enabler
And at the bottom of a typical post is reads e.g.:
<!-- Cache Enabler by KeyCDN @ 15.07.2020 16:02:14 (html gzip) -->
Cache Enabler is working in spite of the notices to the contrary, and I am wondering what is causing these incorrect error messages.
FYI, I am using the latest version of WP core and all plugins are up to date.
I have tried turning off all plugins, but the Cache Enabler and Health Check notices do not change.
Look forward to your advice.
Regards and thanks,
Angus
- The topic ‘define(‘WP_CACHE’, true); is not set in wp-config.php’ is closed to new replies.