-
Notifications
You must be signed in to change notification settings - Fork 17
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
Multiple WP_CACHE definitions in wp-config.php #509
Comments
@eurobank Thank you for the report! I have confirmed this bug. When I have noticed that several other caching plugins, such as WP Super Cache, do not clean up after themselves when they are deactivated and deleted. They will leave behind the |
@raamdev writes...
That's definitely a bug, because this should happen; i.e., the intention is that we remove it before we add it back in, and fail if that is not possible. Referencing: https://github.com/websharks/zencache/blob/150605-RC/src/includes/closures/Plugin/InstallUtils.php#L132 If you see this again, try to grab the raw file contents from the |
@jaswsinc Here you go:
Maybe it's the |
Thanks! :-) So I verified the problem is not:
It seems this bug is a bigger problem than I thought. It is related to this line: The assumption is that an existing However, it's NOT OK if we do in fact want to strip away all existing values for I just looked through the rest of the codebase, and that's what all calls to this method want now too, so far as I can see. So I think the logic used by this method needs to change in order to resolve this. Possible Resolution
|
This may sound naive but why remove the FALSE and not just change it to TRUE, not even changing the place in wp-config.php ... |
Next Lite Release changelog:
|
Next Pro Release changelog:
|
Removing my old caching plugin, a
define('WP_CACHE', FALSE);
was left in wp-config.php. ZenCache added
define('WP_CACHE', TRUE);
at the top but didn't removed the FALSE, so i have two of this in my config. And apparently the FALSE is active (not sure).
Thanks
The text was updated successfully, but these errors were encountered: