1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Partial Fix User Following

Discussion in 'Resolved Bug Reports' started by psx, Jun 5, 2015.

  1. psx

    psx Active Member

    Screenshot 2015-06-05 at 4.05.40 PM.png

    One of our users are only following one person but its showing "Following 2"?
    It could've been a banned user or a deleted user?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Mike

    Mike XenForo Developer Staff Member

    This is likely a banned or deleted user, as suggested. The count is difficult to update with this due to this data being stored denormalized and potentially changing unexpectedly. There's code that attempts to handle this, but I think it's wrong. I think we need to just use the fetched count as is in this case, though there are cases that we can't resolve this.
  4. Mike

    Mike XenForo Developer Staff Member

    I've adjusted this now to at least deal with the count being incorrect in certain obvious ways (listed as 2, only 1 available). Because of temporary bans and things like that, it may not be possible to have a totally accurate count (that's efficient) in cases with larger following counts.
    psx likes this.

Share This Page