Closed (cannot reproduce)
Project:
User Stats
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2013 at 14:49 UTC
Updated:
6 Jul 2016 at 16:36 UTC
Jump to comment: Most recent
Comments
Comment #1
theshanergy commentedDid you ever resolve this issue? I have the same problem and haven't been able to track down the culprit. It seems very random. When I reset the post count and run cron all the counts seem to be correct, then randomly later I'll see a post with -1 or 0 from a known member. I can't reproduce the issue otherwise though, when I submit content my post count is incremented as expected, and when I run cron everything seems fine as well. It seems to just be certain users who trigger the reset.
Comment #2
theshanergy commentedTo give an update on this issue, in case anyone else is experiencing the same. I believe I've narrowed down the cause. I found that certain user roles did not have the 'View statistics' perm. When these users performed some action, it would retrieve the incorrect counts and set the cache for that uid. This would result in post counts being incorrectly reported to all users.
Mine is just a side project, so I don't have much time to devote to fixing this issue. Granting the view statistics perm seems to be suitable fix for me, but perhaps someone can confirm my assumption and roll a patch for users who want more permission granularity.
Comment #3
Andre-BComment #4
Triumphent commentedConfirmed here. User posts count is wrong.