Title: [Plugin: Popularity Contest] Doesn&#8217;t count comments
Last modified: August 19, 2016

---

# [Plugin: Popularity Contest] Doesn’t count comments

 *  Resolved [jezpas](https://wordpress.org/support/users/jezpas/)
 * (@jezpas)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-popularity-contest-doesnt-count-comments/)
 * Hi
    When I first installed Popularty Contest a few days ago it seemed to be working
   just fine. But when my site started getting new comments I realized it wasn’t
   counting them. At first I thought it was just some kinde of latency but after
   several days I tried the reset comments/trackbacks/pingbacks button but no avail.
   I found the answer in the comments to the latest release @ [http://alexking.org/blog/2009/06/25/popularity-contest-20-beta-2](http://alexking.org/blog/2009/06/25/popularity-contest-20-beta-2)
   rycz adds this Comment:
 * To fix the stdClass error when trying to Reset Comments/Pingbacks/Trackbacks,
   change line 772:
 * $this->populate_post_data($post_id);
 * to:
    $this->populate_post_data($post_id->ID);
 * That changes it to access the actual ID variable inside the stdClass object. 
   As far as I can tell, it works like it’s supposed to with this fix.
 * I tried it and it fixed my problem! Hope this is to any help for anyone experiencing
   the same problems as I did

The topic ‘[Plugin: Popularity Contest] Doesn’t count comments’ is closed to new
replies.

 * 0 replies
 * 1 participant
 * Last reply from: [jezpas](https://wordpress.org/support/users/jezpas/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-popularity-contest-doesnt-count-comments/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
