Forums

[resolved] [Plugin: Popularity Contest] Doesn't count comments (1 post)

  1. jezpas
    Member
    Posted 2 years ago #

    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
    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

Topic Closed

This topic has been closed to new replies.

About this Topic