term_exists not detecting recently created terms while object cache is active #23
-
Hello That was not happening prior to 5.9 WordPress.
Any ideas on how to fix that? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
To help up a bit, tried both solutions here but non worked. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That was something that wasn't happening till 6.0, so if I got the same problem on multiple websites, more importers would do. As a fallback, i m using renamed term_exists from WP 5.9 if REDIS is active, which is something I want to avoid. |
Beta Was this translation helpful? Give feedback.
-
I am trying to understand why it's core issue as it only happens when Redis is on? |
Beta Was this translation helpful? Give feedback.
maxttl
to let those cache keys expireterm_exists()
and run a raw database query yourself