current_user allcaps changed if redis object cache is enabled
-
Hi!
I have a strange problem. In our site when I enable Redis cache, some minutes later the current_user allcaps array is changed (all item dissapear except “editor”:true value), so all my reqest will be failed. If i turn off redis cache everything works well.
I debugged the site, put a lot of error_log in it, but nothing write current_user allcaps property in my code. I think the problem is the redis caching current_user data and it changed somehow.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘current_user allcaps changed if redis object cache is enabled’ is closed to new replies.