Can’t login after enabling object cache
-
Hello,
For some reason. I can’t login into WordPress after I enable object caching and have to disable it.
I don’t know if it’s related, but I can’t flush the cache once it’s enabled (get an error saying “Object cache could not be flushed.”)
I tried
wp cache flush
andredis-cli flushall
.I tried to disable all my plugin. I also didn’t find any errors in the Apache or redis-server logs.
I noticed that the file
object-cache.php
doesn’t get created in /wp-content. I only have theadvanced-cache.php
Finally, here’s the result when I run diagnostic after enabling the cache. Thanks a lot for your help.
Status: Connected Client: PhpRedis (v5.1.1) Drop-in: Valid Ping: 1 Redis Extension: 5.1.1 Predis Client: 1.1.1 PHP Version: 7.4.3 Redis Version: 5.0.7 Multisite: No Global Prefix: "theprefix" Blog Prefix: "theprefix" WP_REDIS_DATABASE: 1 WP_CACHE_KEY_SALT: "thesalt" WP_REDIS_PASSWORD: "****************************************************************" Global Groups: { "0": "blog-details", "1": "blog-id-cache", "2": "blog-lookup", "3": "global-posts", "4": "networks", "5": "rss", "6": "sites", "7": "site-details", "8": "site-lookup", "9": "site-options", "10": "site-transient", "11": "users", "12": "useremail", "13": "userlogins", "14": "usermeta", "15": "user_meta", "16": "userslugs", "33": "blog_meta" } Ignored Groups: [ "counts", "plugins", "themes" ] Unflushable Groups: [] Dropins: - advanced-cache.php v by - Redis Object Cache Drop-In v1.5.9 by Till Krüss Plugins: - Akismet Anti-Spam v4.1.5 by Automattic (Active) - AMP v1.5.3 by AMP Project Contributors (Active) - Classic Editor v1.5 by WordPress Contributors (Active) - Convert Plus v3.5.8 by Brainstorm Force (Active) - Health Check & Troubleshooting v1.4.4 by The www.ads-software.com community (Active) - Hello Dolly v1.7.2 by Matt Mullenweg (Active) - Inactive Logout v1.9.5 by Deepen Bajracharya (Inactive) - Redis Object Cache v1.5.9 by Till Krüss (Active) - ShortPixel Image Optimizer v4.18.0 by ShortPixel (Inactive) - Simple History v2.33.2 by P?r Thernstr?m (Active) - Slider Revolution v6.2.8 by ThemePunch (Active) - Supreme Shortcodes v2.0.1 by Supreme Factory (Active) - tagDiv Cloud Library v1.5 | built on 06.05.2020 14:38 by tagDiv (Active) - tagDiv Composer v2.6 | built on 06.05.2020 14:38 by tagDiv (Active) - tagDiv Mobile Theme v1.4 | built on 06.05.2020 14:38 by tagDiv (Active) - tagDiv Newsletter v1.5 | built on 06.05.2020 14:38 by tagDiv (Active) - tagDiv Social Counter v4.7 | built on 06.05.2020 14:38 by tagDiv (Active) - tagDiv Standard Pack v1.0 BETA | built on 06.05.2020 14:38 by tagDiv (Active) - Two Factor Authentication v1.7.2 by David Nutbourne + David Anderson, original plugin by Oskar Hane (Inactive) - WordPress RSS Feed Retriever v1.6.1 by Theme Mason (Active) - WPBakery Page Builder v6.2.0 by Michael M - WPBakery.com (Active) - WP fail2ban (Premium) v4.2.8 by Charles Lecklider (Active) - WP Rocket v3.5.5.1 by WP Media (Active) - WP Security Audit Log v4.0.3 by WP White Security (Active) - Yoast SEO v14.1 by Team Yoast (Active)
- The topic ‘Can’t login after enabling object cache’ is closed to new replies.