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

  1. jacksheo
    Posted 3 years ago #


    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.



  2. jacksheo
    Posted 3 years ago #

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

  3. Hector Cabrera
    Plugin Author

    Posted 3 years 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
    Posted 3 years ago #

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

  5. Hector Cabrera
    Plugin Author

    Posted 3 years 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:

    3. Change it to:

    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
    Posted 3 years ago #

    Hi Hector,

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

    What should I do next?

  7. jacksheo
    Posted 3 years 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. Hector Cabrera
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic