Title: error message about fixing php file &#8211; ??
Last modified: January 13, 2020

---

# error message about fixing php file – ??

 *  Resolved Anonymous User
 * (@anonymized-15351932)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-message-about-fixing-php-file/)
 * HI
 * I have a strange message in my dashboard:
 * > “define(‘WP_CACHE’ , true); is not set in wp-config.php”
 * I thought that this plugin doesn’t require any file changes. What does it mean?
   is it NOT caching??
 * I’m not a developer so could you please explain why do I have this error and 
   how to fix it – step by step.
 * I use this simple plugin as I can’t be spending hours configuring more comprehensive
   caching plugins making selection of technical settings I don’t have a clue what
   they are.
 * I would appreciate your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-about-fixing-php-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter Anonymous User
 * (@anonymized-15351932)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-message-about-fixing-php-file/#post-12316555)
 * well…I tried to manually insert this missing code.
 * In the php file there was only //Added by Cache Enabler and the code was indeed
   missing.
 * I inserted it manually – very carefully.
 * It stuffed up my WP dashboard!!!! Even when I removed it – it is still completely
   stuffed up!!!!! I have to seek urgent help from my host and I pray that they 
   can fix it.
 * **YOUR PLUGIN IS RUBISH AND DANGEROUS!!!!** requiring people to mess up with 
   the php file…
 * I’m done with it!!!!!!
 *  Anonymous User 16850768
 * (@anonymized-16850768)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-message-about-fixing-php-file/#post-12317444)
 * By default upon activating the Cache Enabler plugin it will add `define('WP_CACHE',
   true); // Added by Cache Enabler` to the `wp-config.php` file as well as copy
   the `advanced-cache.php` to the `wp-content` directory.
 * The warning you received indicates that the Cache Enabler plugin was unable to
   write to your `wp-config.php` file. This is typically caused by file permissions.
   To fix this you can add `define('WP_CACHE', true);` to your `wp-config.php` file
   manually.
 * The Cache Enabler plugin doesn’t cache pages for logged in users, which means
   the WordPress admin dashboard is never cached. Unfortunately without additional
   information I’m unsure exactly what occurred, however, a quick solution should
   just be reverting your `wp-config.php` file to as it was previously.

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

The topic ‘error message about fixing php file – ??’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 16850768
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/error-message-about-fixing-php-file/#post-12317444)
 * Status: resolved