Viewing 10 replies - 1 through 10 (of 10 total)
  • @shashikant91 Could you please add following line to wp-config.php file just below <?php

    define('WP_CACHE', true); // WP-Optimize Cache

    Then save the file and upload it to your server.

    This should solve the issue.

    Thread Starter shashikant91

    (@shashikant91)

    Hi @bornforphp

    Is this happening after the update of plugin version?

    Currently we have rolled back to our earlier version of the plugin and then the error stopped.

    You mean I can add this piece of code and then update the plugin again?

    But what is this for? We aren’t using cache from wp_optimize

    We are using cloudflare instead

    Thanks
    Shashikant

    @shashikant91 Could you please confirm if you accidentally enabled caching option in WP-Optimize > Cache, because the constant only requires to be added in wp-config.php file if you have WP-Optimize > Cache enabled.

    Thread Starter shashikant91

    (@shashikant91)

    @bornforphp

    That’s the whole issue is about.

    Guess the constant is being utilized or called for even if cache is not enabled post update.

    Earlier we had nothing but only database cleanup option enabled. We never have even enabled the cache option.

    Right after the update of the plugin to the latest one this error has popped up.

    @shashikant91 I’ll check this issue with our development team for further investigation until then rollback to version 3.2.3

    Thread Starter shashikant91

    (@shashikant91)

    @bornforphp

    Thanks!

    Currently we have rolled back to 3.2.3 and hence the error log stopped.

    I am seeing the same problem “WP_CACHE constant is not present in wp-config.php” on our site as well. Note that I do not have caching enabled WP-optimize.

    @n1fdadmin We are looking into the issue, until then please rollback to version 3.2.3

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    A fix has just been tested so it should be released fairly imminently.

    Thread Starter shashikant91

    (@shashikant91)

    @vupdraft

    Is this fix released?

    Please confirm if this error is resolved.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WP_CACHE constant is not present in wp-config.php’ is closed to new replies.