Support » Plugin: WordPress Popular Posts » Post counts gone haywire in past few days

  • I noticed about three days ago that the ‘popular’ post counts on our site have gone haywire … only one of the most recent popular posts is rating, and several old pages which get few views are showing up.

    In the WPP widget, we had “Most read, past 7 days”, and this also has gone haywire … ie, articles with hundreds of views not showing up, in favour of older pages (not posts). I’ve had to replace this temporarily with “Most read, past 30 days” to get a halfway sensible count of posts.

    On reading through this forum I went back to versions 2.3.2, 2.3.3. and 2.3.4 and tested in turn, to no avail. Deleted cache also.

    It’s worked fine up til a few days ago … any suggestions??

    thanks …

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem…

    I noticed that I used to have the admin-ajax.php ajax script appearing on the post, but now its gone with the current updates.

    Was the call to admin-ajax.php specifically removed?

    I think I may have found the problem: on Tools, Data Tools, Ajaxify widget – it should be enabled on w3total cache.

    But if you enable it then widgets will be loaded via ajax as well as the counting script.

    I had trouble with this since I’m using jquery on the output of the popular list. So I just disabled Ajaxify and just placed this on the single posts:

    $nonce = wp_create_nonce('wpp-token');
    global $wp_query;
    $id1 = $wp_query->post->ID;
    <script type="text/javascript">
        /* <![CDATA[ */'<?php echo admin_url('admin-ajax.php'); ?>', {action: 'wpp_update', token: '<?php echo $nonce; ?>', id: <?php echo $id1; ?>}, function(data){/*alert(data);*/});
        /* ]]> */

    I am not using that tool, so that’s not going to work for me!

    I’ve had to disable both instances of Popular Posts appearing on the site.

    Very frustrating.

    What caching plugin are you using Robin?

    We have WP Super Cache.

    Ah I think the plugin is really broken even with the changes I made above. I hope it would be resolved soon.

    I think you are right … I am changing to another, trying out nrelate for now but may go on to something else that can be customised a little easier.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Post counts gone haywire in past few days’ is closed to new replies.