WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] "Sorry. No data so far." persisting (20 posts)

  1. korey99
    Member
    Posted 1 year ago #

    I installed WordPress Popular Posts months ago, but even after all this time I still get the "Sorry. No data so far" error.

    I'm running version 2.3.2 of the plugin. My theme doesn't support widgets, but I put the wpp_get_mostpopular() template code in the sidebar, and I used the shortcode on a test page. I do have the wp_head() code in my header.php as well.

    I dropped the two tables, deactivated, and reactivated the plugin just for fun. I've done a lot page visiting (while logged out), and I'm getting entries in the tables.

    However, still nothing in the sidebar, and on the settings page, it also says "no data." Anything else I can try?

    http://www.atterberry.net

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

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi korey99,

    By default, the wpp_get_mostpopular() template tag will retrieve the most commented posts in the last 24 hours. If none of your posts have recieved comments within that time range, the message "Sorry. No data so far" will be displayed (which, by the way, it's not an error).

    To switch to the most viewed posts, simply pass order_by=views to the template tag, like this: wpp_get_mostpopular('order_by=views').

  3. korey99
    Member
    Posted 1 year ago #

    Sorry for the trouble. I see what you mean, and it's working OK now. The defaults, as shown on the installation page, require a site with more active traffic than mine!

  4. adorerai
    Member
    Posted 1 year ago #

    Hi,

    When I go into the stats and order by views or avg daily views it says Sorry No Data for last 24 hours / 7 days / 30 days and all time.

    It's only showing stats when I order by comments.

    Is there something I need to do to trigger a view?

    Thanks

  5. Oudin
    Member
    Posted 1 year ago #

    I'm getting the the same error wpp_get_mostpopular('order_by=views') is not working on WP 3.5

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Oudin,

    The plugin has not been tested under WP 3.5 yet, so chances are that something is broken at the time. I'll check this out as soon as possible.

  7. williamespindola
    Member
    Posted 1 year ago #

    Hi guys, I installing WordPress Popular Posts months ago, but now after every time. I have this message "Sorry. No data so far"?
    Where is this?

    thanks

  8. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi William,

    Did you read what I posted above?

  9. williamespindola
    Member
    Posted 1 year ago #

    Sorry. I read but did not pay attention.
    My version of wordpress is 3.5. Here this the problem.
    The project this on de free repository? I help you to test on 3.5 version?

  10. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Once I get some time to check what's going on between WPP and WordPress 3.5 and will post a test version here so you can try it out.

  11. securamente
    Member
    Posted 1 year ago #

    Having the same problem with WP3.5.1, so I guess there is indeed something broken. Sorting by comments work fine, sorting by views shows nothing at all.

    When sorting by comments you can even see that all posts have 0 visits, like:

    Post 1 (5 comments | 0 visits)
    Post 2 (3 comments | 0 visits)
    Post 3 (2 comments | 0 visits)
    Post 4 (1 comments | 0 visits)
    Post 5 (1 comments | 0 visits)

  12. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi securamente,

    I'm testing the plugin under WP 3.5.1 and that's not happening on my end. Views count not being updated could mean that you're missing the wp_popularpostsdata and the wp_popularpostsdatacache DB tables, or that you're using a caching plugin not compatible with WPP.

    Can you please share more details about your site?

  13. securamente
    Member
    Posted 1 year ago #

    Well, I do have those two tables, but apparently they are empty; no idea why my WP is not gathering any information there on my posts :(

    I am not using that many plugins, and I do not think I am using any plugin that has relation with caching.

  14. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    If these are empty, WPP is having issues trying to update the views count to your database. Does your current theme have the wp_head() tag in it?

  15. securamente
    Member
    Posted 1 year ago #

    I do see a wp_head() call on header.php

    I am using Graphene theme, which I would say is quite a common WP theme. Theme is untouched, I have not edited any files or done any changes to it. Quite strange, since I do not think my WP installation is uncommon/strange, I have not personalized anything outside from the admin section.

  16. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

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

  17. securamente
    Member
    Posted 1 year ago #

    Héctor,
    My WP is http://www.securamente.com , but I understand that my problem has nothing to do with your plugin, since my WP is not storing the viewed posts data.
    You will see that I have a "popular posts" widget on the right; but those popular posts have been selected by hand, it is not geting any information from the database.

  18. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Well, the thing is that WordPress does not store views count natively - that's the main reason why this plugin exists. The WPP plugin adds this functionality to your blog.

    By the way, just checked your site and can't see WPP anywhere. I guess you disabled it?

  19. securamente
    Member
    Posted 1 year ago #

    I just reenabled it, it is on the right column, bottom.

    And well, that was so lame from my part... I was actually expecting WP to already keep track somehow on the visits on each post; and that your plugin would just be using those numbers to show the most commented/visited posts. It did not even cross my mind that it was your plugin the one tracking the visits, so that there would be no stats on any posts from before the plugin was installed. So it does seem to be working fine now with the visits.

    The last problem I am having now is by design; if I choose to sort by visits, last 7 days, and show comments/visits on each post, it is just showing how many comments there have been the last 7 days, and not the number of comments on the post. So I will have to live with it.

    Thanks a lot for your time! :)

  20. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    No problem, glad to know everything's fine now :) Enjoy the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.