• Resolved diegoquimbo

    (@diegoquimbo)


    I’m trying to install the plugin Cache Enabler in my WordPress site.
    After to enable the plugin I get this warning:
    define('WP_CACHE', true); is not set in wp-config.php.

    So I add that line in my wp-config.php file; however, the warning remains there.

    Do you have any tips what the problem is?

Viewing 7 replies - 1 through 7 (of 7 total)
  • This is TOTALLY true : it happened to me on different sites !

    The sites were using different hosting solutions so it’s 100% a plugin dependent bug.

    Apparently I had to manually add this to my wp config for the plugin to work:

    define(‘WP_CACHE’, true); // Added by Cache Enabler

    Devs please fix this. Having to manually edit wp-config is a real waste of time.

    Thanks,

    If the plugin is unable to write define(‘WP_CACHE’, true); // Added by Cache Enabler in your wp-config.php file this could be due to your current file permissions. In this case you’ll either need to change the permissions and reinstall the plugin or add the line manually.

    @diegoquimbo Have you added that line to the top of your wp-config.php file?

    The chance of file permissions to be messed up on various different hosts is close to none imho…

    tl;dr: bug needs to be fixed

    Thread Starter diegoquimbo

    (@diegoquimbo)

    Hi @codyarsenault,
    yes I added the line define('WP_CACHE', true); in the top of wp-config file, however I still having the warning. I’m using WordPress with Pressable maybe this has something to do with it.

    Hey there,

    Pressable does not allow any type of caching plugins to be installed on our platform and this would include “Cache Enabler” We run our own server side caching that will cause issues with any of these types of plugins. This is why you are not getting this plugin to work properly. Please reach out to us through the HelpDesk if you have any further issues. Thanks!

    Mike
    Pressable Support

    Plugin Author KeyCDN

    (@keycdn)

    Thanks for the update Mike.

    Not a problem at all !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘define(‘WP_CACHE’, true); is not set in wp-config.php.’ is closed to new replies.