• Resolved bemwa

    (@bemwa)


    I was using WP rocket plugin for caching recently but i have deleted it and installed cache enabler plugin instead but it shows me a message which says
    “Caching is disabled because define( ‘WP_CACHE’, true ); is not set in the wp-config.php file.”
    i tried to add define( ‘WP_CACHE’, true ); to the wp-config.php file but i didnt solve the problem.
    please i need help in this

Viewing 1 replies (of 1 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    Happy to see the issue has been resolved. In most cases Cache Enabler will automatically set the WP_CACHE constant but there are cases when it won’t to prevent forced overwriting. We’ll likely be introducing an easy way to force set this constant in the cases that Cache Enabler doesn’t automatically set the constant.

    In case this happens to someone else, when updating the wp-config.php file you’ll want to make sure the WP_CACHE constant is only set once and is true. This constant lets WordPress know to use the advanced-cache.php drop-in, which Cache Enabler requires to cache and deliver pages. This constant must be set before require_once ABSPATH . 'wp-settings.php';.

Viewing 1 replies (of 1 total)

The topic ‘A bug with cache enabler plugin’ is closed to new replies.