Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define( "WP_CACHE", true ); is not in wp-config.php. Either click "Attempt Fix" or add the code manually. Attempt Fix #95

Open
githubsteef opened this issue Mar 3, 2019 · 4 comments

Comments

@githubsteef
Copy link

define( "WP_CACHE", true ); is not in wp-config.php. Either click "Attempt Fix" or add the code manually.
Attempt Fix
have put in the code, still get this error

@stefanos82
Copy link

stefanos82 commented Mar 7, 2019

Yep, I can confirm this; it's related to #89.

I replaced the characters with :%s/\r//g, but it doesn't make any sense to repeat the same command over and over when I'm tweaking the cache's settings.

@ram108
Copy link

ram108 commented Oct 2, 2019

Yes. The plugin also breaks the wp-config.php file due to incorrect line breaks.

@nuevaya
Copy link

nuevaya commented Oct 18, 2019

I confirm the plugin breaks the wp-config.php adding "extra" characters on every line of the file.

Please add the define( "WP_CACHE", true ); manually before activating the plugin

@MagneticArrow
Copy link

There is a typo in the backend message. The actual code that plugin will write if able is:

define( 'WP_CACHE', true ); // Simple Cache

The typo is double quote appearing in WP backend ("WP_CACHE"), but really should be single quote.

I 444 my htaccess and wp-config. And have the correct cache define in place, yet when I make a change in the plugin options, the message to add cache true appears again. Should certain permissions exist for wp-config, or is once the cache define line is in place it is okay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants