Title: define(&#039;WP_CACHE&#039;, true);
Last modified: August 22, 2016

---

# define('WP_CACHE', true);

 *  Resolved [shoremovements](https://wordpress.org/support/users/shoremovements/)
 * (@shoremovements)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/definewp_cache-true-1/)
 * getting this message…how do i fix it
    advanced-cache.php
 * [https://wordpress.org/plugins/wp-config-file-editor/](https://wordpress.org/plugins/wp-config-file-editor/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Code Machine](https://wordpress.org/support/users/xpointer/)
 * (@xpointer)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/definewp_cache-true-1/#post-5711129)
 * Hello,
 * Sorry or the delay.
 * It seems that you’ve a Plugin that required WP_CACHE constant to be defined.
 * WP Config File Editor currently is not being support any custom (created by Plugins)
   constants, only WordPress constants is being supported. The Help box tells that“
   you will lose any custom changes you’ve in the config file once you saved it”.
 * A simple solution is by Go To WP Config File Editor Dashboard page, Scroll down,
   Click Preview, Add define(‘WP_CACHE’, true); in a separated line after WP_DEBUG
   constant.
 * Let me know if you still have a problem
 * hope this helps.
 * Regards,
    AHMeD
 *  Thread Starter [shoremovements](https://wordpress.org/support/users/shoremovements/)
 * (@shoremovements)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/definewp_cache-true-1/#post-5711156)
 * I put this in as you indicated below and am getting
 * Parse error: syntax error, unexpected T_IF in /nfs/c06/h02/mnt/184292/domains/
   shoremovements.com/html/wp-config.php on line 87
 * define(‘WP_DEBUG’, true);
    define(‘WP_CACHE’, true);
 *  Plugin Author [Code Machine](https://wordpress.org/support/users/xpointer/)
 * (@xpointer)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/definewp_cache-true-1/#post-5711192)
 * It seems you wrote wrong character(s).
 * Is it a public site can be accessed through internet?
 * You can supply FTP access to the site and I will fix it for you.
 * Let me know so I will send you my email.
 * Thanks,
    AHMeD

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘define('WP_CACHE', true);’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-config-file-editor_ebebeb.svg)
 * [WP Config File Editor](https://wordpress.org/plugins/wp-config-file-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-config-file-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-config-file-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-config-file-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-config-file-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-config-file-editor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Code Machine](https://wordpress.org/support/users/xpointer/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/definewp_cache-true-1/#post-5711192)
 * Status: resolved