Status stays Disabled
-
Hi!
Recently, I noticed that the Status for my object cache is always disabled. I have not changed my set up at all, so I’m not quite sure what happened. I hope the following information helps:
Info on my environment that I think may be relevant:
- WordPress is running in a docker container
- Redis is running in a separate container
- Redis and WordPress run on the same docker network as each other (and always have)
- WordPress runs behind Traefik (and always has)
- I use the CloudFlare plugin, with the default WordPress settings (and always have)
- I have no other caching pluginsThis environment has worked for years! I have not changed anything.
But now, the status page even with the Object Cache enabled the object cache shows this:
Status: DisabledFilesystem: WriteableRedis: ReachableThe status page gives me the option to Disable Object Cache, which gives me the same status as above. When I click Enable Object Cache, it also gives me the above!
The Diag page shows this:
Status: Disabled
Client: Predis (v2.4.0)
Drop-in: Valid
Disabled: Yes
PhpRedis: Not loaded
Relay: Not loaded
Predis: 2.4.0
Credis: Not loaded
PHP Version: 8.3.30
Plugin Version: 2.7.0
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Writable
WP_REDIS_DISABLED: true
WP_REDIS_HOST: "redis"
WP_REDIS_PORT: 6379
WP_REDIS_DATABASE: 0
WP_REDIS_TIMEOUT: 1
WP_REDIS_READ_TIMEOUT: 1
WP_REDIS_PLUGIN_PATH: "/var/www/html/wp-content/plugins/redis-cache"
Drop-ins: [ "Redis Object Cache Drop-In v2.7.0 by Till Krüss" ]Things I’ve tried:
Disabling and Re-enabling the object cacche
Deleting object-cache.php
Removing the plugin altogether, confirming object-cache.php is gone and reinstalling
Stopping the redis container, deleting everything, and restarting the redis container
redis-cli FLUSHALL
Change timeouts to 3 and 5
Changed the redis database to 1 and 2
Forcing <span style="font-family: inherit; font-size: 0.8rem; text-align: initial;">WP_REDIS_DISABLED</span> in wp-config.php to false
Purged all my Cloudflare cachingI hope this is enough information for you to help me.
Thank you in advance.
You must be logged in to reply to this topic.