WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
data shouldn't went haywire (9 posts)

  1. jacksheo
    Member
    Posted 11 months ago #

    Hi,

    The wordpress popular posts plugin has been working fine all along on my website. But has suddenly stopped working the last 2 days. The popular posts shown on the page now is not reflective of the actual viewing stats.

    Any suggestion where I should start looking first?

    My website is http://jacksheo.com and the stats from this plugin is reflected near the bottom of the page.

    Thanks!

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. jacksheo
    Member
    Posted 11 months ago #

    The subject of the post should be "data suddenly went haywire".. :)

  3. Héctor Cabrera
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Jack,

    Plugin has not been updated for a while now so, any other changes in your blog recently? Plugins upgrades / installs? Changed themes?

  4. jacksheo
    Member
    Posted 11 months ago #

    My site was subjected to Pharma Hack. So I reinstalled wordpress and my theme a few days back. Possibly due to this?

  5. Héctor Cabrera
    Member
    Plugin Author

    Posted 11 months ago #

    Probably, as it seems this hack affects the wp_options table to inject the links into search engines results and may have altered a few other things in there. Did you restore this table when you reinstalled WordPress?

    I checked your site and things seem to be working alright. I need you to do something for me to make sure WPP is updating the views correctly into the database:

    1. Open wordpress-popular-posts.php using an editor such as Notepad or Adobe Dreamweaver.

    2. Find this portion of code:
    function(data){/*alert(data);*/}

    3. Change it to:
    function(data){alert(data);}

    4. Go to your site and view any post / page. You should get an alert saying something like "OK. Execution time: XXXXXXXXX". If so, WPP is working fine and there must be an option or setting that's different from your original configuration.

  6. jacksheo
    Member
    Posted 11 months ago #

    Hi Hector,

    I just did what you suggested. Did not get any alert.

    What should I do next?

  7. jacksheo
    Member
    Posted 11 months ago #

    My apologies. The alert only popped up when I used a different browser (was not logged in to my site) to visit the page.

    Any suggestions on what I should be checking next?

  8. Héctor Cabrera
    Member
    Plugin Author

    Posted 11 months ago #

    Sorry, yes the alert just pops up for non-logged in users. Forgot to mention that hehe. I'm going to assume that everything went as expected since you didn't say that the alert showed a different message than the one I posted before.

    How are you sorting your popular posts on the widget in the footer? By views, as well?

  9. jacksheo
    Member
    Posted 11 months ago #

    Yes, the popup alert showed some numbers.

    I set it to sort by daily average views.

    When I click Settings -> WordPress Popular Posts (in wordpress dashboard), it shows me results (which page has highest posts etc) that are different from what I am getting on my website.

Reply

You must log in to post.

About this Plugin

About this Topic