# Discrepancy in posts count (Different count in profile and admin page)

**URL:** https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303
**Category:** Bug
**Created:** [February 13, 2017, 8:17am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303 "2017-02-13T08:17:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [February 13, 2017, 8:17am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/1 "2017-02-13T08:17:46Z")

</div>

I just noticed this:

/admin/users/ _usernumber_ / _username_ doesn’t always indicate the same number for “Posts Created” as /users/ _username_ /activity shows.

My stats are all up to date, and the numbers are significantly different (4 vs 23).

I’m not sure if this is a bug or not. It may be related to how our import worked.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 13, 2017, 10:59am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/2 "2017-02-13T10:59:39Z")

</div>

~~The posts count in `/admin/` includes the PMs while the count in `/users/` only counts your public posts.~~

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [February 13, 2017, 11:05am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/3 "2017-02-13T11:05:21Z")

</div>

Admin shows 4, the user summary shows 23, this user has 0 pms.

Could it have something to do with the stats job?

This account in particular is an imported one, and is still dormant, but I’ve seen the same with active users.

The 23 posts shown in the user summary are all there.

EDIT:  
I’m seeing the same (significant) differences on both our live site and my test machine.

I ran across it while working on user merge and consolidation ideas on the test site: I was in /admin and saw “3 posts”, which is lower than max posts to delete, so I hit delete & got an error. Then I went and looked at the user summary.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 13, 2017, 11:21am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/4 "2017-02-13T11:21:42Z")

</div>

Nevermind, they both use the **same** posts count : public posts.

So there is definitely something wrong with your import.

---

<div class="post-metadata">

### Author: ![nixie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nixie/32/82174_2.png) [@nixie](https://meta.discourse.org/u/nixie)
#### Post date: [October 24, 2017, 6:48am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/5 "2017-10-24T06:48:39Z")

</div>

I’m seeing the discrepancy in my LIVE site as well as TEST site.  
My test site has just 3 users and 10 threads.  
Both the LIVE site and TEST site were installed from scratch. (didn’t do any kind of importing)

**Posts Count shows as 2 in User Profile**

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/7/97f4a3cdc05a750abd0a99f443791a96637352fd.png)

**Posts Count shows as 14 in Admin Page**

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/b/6b4c95486bf0abe56405afe8571e7940b1e6b848.png)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [October 24, 2017, 6:57am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/6 "2017-10-24T06:57:02Z")

</div>

It can be a bit confusing I guess. The first post of a topic is both a topic and a post.

Profile 12 topics created 2 posts created  
Is equal to Admin Posts Created 14

---

<div class="post-metadata">

### Author: ![nixie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nixie/32/82174_2.png) [@nixie](https://meta.discourse.org/u/nixie)
#### Post date: [October 24, 2017, 7:07am UTC](https://meta.discourse.org/t/discrepancy-in-posts-count-different-count-in-profile-and-admin-page/57303/7 "2017-10-24T07:07:19Z")

</div>

@Mittineague  
I agree that, in admin panel, total posts = “total posts created” + “total threads created”

Have a look at below pics: (this is for a different user - from my TEST site)

Example of USER2  
**In Profile, Posts=2 Topics=1**

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/6/26489c7fabf49e30371455c92f3c3714ce531ce7.png)

**But in Admin, Posts=4**

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/2/d2d51fcc2b5d46a5ba1f031b71fe47ecaf3d3482.png)

Example of USER3 (there are just 3 users in my TEST site)

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/e/2e9eceefe73afb2f44d8a7f289158cfa901dc02e.png)  
 ![image](https://global.discourse-cdn.com/meta/original/3X/4/b/4bd831c137b6407501879f35a45f61e81187258e.png)

**NOTE:**  
I’m not sure if “total posts” in Admin panel is REALLY = “total posts” + “total topics” or not.  
BUT - even if its really true, still, the post count in Admin panel is OFF by 1 post. (for 2 users in my TEST site. There are just 3 users in total)
