WordPress.org

Forums

WordPress Popular Posts
"All time" view count not working (14 posts)

  1. TheRiz
    Member
    Posted 8 months ago #

    Hello,

    I believe the "all time" view counter is not working. Since I have updated this plugin with the latest update, it seems to be the only data filter that never changes. The numbers have remained static for weeks despite hundreds of visits to my site. The top post has had its view count at 1,200 some views for weeks straight.

    Any idea what it might be? I run the Stargazer theme.

    Thanks

    https://wordpress.org/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Hi there,

    Are you using a caching plugin, by any chance?

  3. TheRiz
    Member
    Posted 8 months ago #

    Yes, I use WP supercache.

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    From the description page:

    Notices
    Starting version 3.0.0, the way plugin tracks views count switched back to AJAX. The reason for this change is to prevent bots / spiders from inflating views count, so if you're using a caching plugin you should clear its cache after installing / upgrading the WordPress Popular Posts plugin so it can track your posts and pages normally.

    Did you clear WPSC's cache already? If not, please do so. If you're using the WPP widget, I'd also advice to enable the Ajaxify feature via Settings > WordPress Popular Posts > Tools before clearing WPSC's cache.

  5. TheRiz
    Member
    Posted 8 months ago #

    My WPSC clears the cache daily. Should I clear the WPP cache too?

    Thanks for the quick response.

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Should I clear the WPP cache too?

    Nope, that shouldn't be necessary.

    If the stats are not being updated, it probably means that WPP's unable to communicate with your database. And I say probably because without looking at your site I can only guess :P

  7. TheRiz
    Member
    Posted 8 months ago #

    Looks like the AJAX switch did the trick. Thanks!

  8. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Don't mention it, I'm glad to know everything's OK now.

    I'm marking this topic as resolved, then. Please let me know if you need further help.

    Have a nice day!

  9. TheRiz
    Member
    Posted 8 months ago #

    Argh, I hate to say this but it is reverting back to the stats that it originally had recorded.

    When I click on articles on the fly, they update. However, I have left for a few hours and returned, and the articles no longer have the views they had recorded.

    Is the WordPress Super Cache plugin completely incompatible with this perhaps?

  10. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Can't tell for sure, it's been a very long time since I last tried WP Super Cache.

    Could you please post your site's URL so I can go take a look?

  11. TheRiz
    Member
    Posted 8 months ago #

    Perhaps I should try another caching plugin. The site is alphadark.com. The popular posts are on the right side.

    The top one always reverts back to 1262. The rest follow suit with their counts.

  12. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Did you enable the Ajaxify feature? From the code it seems that the feature is either disabled or that WPSC is serving an old version of your sidebar because I can see the regular non-AJAX list there.

  13. TheRiz
    Member
    Posted 8 months ago #

    Hey Hector, appreciate your fast response here. AJAX is indeed enabled. I might just try another caching plugin and see what happens. I'll report back when I know. I think I might go with WP Fastest Cache.

  14. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    You may also want to report the issue with WPSC's developer, maybe he could help you figure out what's happening and you won't need to switch to another plugin. Let him know that you're using a sidebar widget which is capable of using AJAX (and that the feature is enabled) but in your sidebar WPSC still lists the non-AJAX version.

Reply

You must log in to post.

About this Plugin

About this Topic