• Resolved nasa76

    (@nasa76)


    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)
  • Plugin Author Till Krüss

    (@tillkruess)

    You either have a plugin that doesn’t use WP’s API to change the capabilities OR you’re updating it yourself in your code.

Viewing 1 replies (of 1 total)

The topic ‘current_user allcaps changed if redis object cache is enabled’ is closed to new replies.