Support » Plugin: WordPress Popular Posts » After Upgrade – Says No Data :(

  • Resolved mattblank

    (@mattblank)


    Just updated the latest version and I’m using the widget.

    In the admin it shows me there is data, but it’s not displaying in on the website. I deleted the widget and put it back, and it seems the issue is where I specify which category to pull data from (I’ve definitely got the correct category!).

    Any help?
    Thanks!
    Matt

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

Viewing 15 replies - 1 through 15 (of 39 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi Matt,

    In the admin stats, there’s no filtering by category (not yet at least) so you get everything unfiltered. That’s why there’s a difference in the results.

    Anyways, where you filtering by category before the upgrade? Was it working then?

    mattblank

    (@mattblank)

    Hi Hector,

    Sadly that’s not the problem. I realise it shows all pages and all categories in the admin, but many were posts from the category I want to show (I only have two cats!).

    I was filtering by category. I changed nothing, just updated the app and suddenly it says there’s no data.

    Matt

    CoryDobson

    (@corydobson)

    I’m experiencing the same thing at http://www.seriousfiver.com in the sidebar. I have the code placed in my sidebar.php file, never changed anything, and now the popular videos doesn’t work.

    Oddly enough, it works if I change it from “range=weekly” to “range=all”. Any other range than “all” doesn’t work for the video category, though it works for my photo category.

    Any ideas?

    Plugin Author Hector Cabrera

    (@hcabrera)

    How odd, thanks for the input guys. Will look into it.

    While I’m on it, please consider downgrading to v2.3.2.

    Also, please add some more details to your reports: are you using the widget? the [wpp] shortcode? Sorting by views, comments?

    VictoryCheer

    (@victorycheer)

    Instead of downgrading, I’ve decided to go with CoryDobson’s solution. It gets the site looking right without me having to change back all my CSS files.

    CoryDobson

    (@corydobson)

    Hi Hector,

    This is what my code looks like
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=all&order_by=views&cat=6&post_type=post&thumbnail_width=280&thumbnail_height=100&stats_comments=0"); ?>

    If I change the range from anything but “all” it comes up with no date yet, though the following code works, for the photos category on my site.
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=daily&order_by=views&cat=5&post_type=post&thumbnail_width=280&thumbnail_height=100&stats_comments=0"); ?>

    Hope that helps

    Thanks

    Cory

    Plugin Author Hector Cabrera

    (@hcabrera)

    Thank you, Cory!

    I think I’ve nailed the bug. Please download this version of the plugin, test it and post your feedback here. If everything’s alright then I’ll re-upload v2.3.3 with this change for everyone.

    CoryDobson

    (@corydobson)

    Hi Hector,

    I tried out the new file, it ended up putting only posts from the photo category under the “popular videos”. I didn’t change the code in my template.

    I reverted back to the old version again.

    Thanks

    Cory

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Cory,

    Thank you for your feedback. By looking at your code, I see there’s only one category (6) there. Are the posts under category 6 also in category 5? Otherwise, that code will only retrieve posts from category 6. Am I missing something?

    CoryDobson

    (@corydobson)

    Hey Hector,

    Category 5 is the photos category, Category 6 is the Video category. They are either or, never both. The top list on my sidebar should show from category 5 (photos) which it does, the bottom should show just category 6 (which it doesn’t on the upgrade).

    All works fine on the previous version.

    Hope that clarifies.

    Thanks!

    Cory

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, thanks for the clarification Cory. So, if I understand correctly, you’re using wpp_get_mostpopular twice: one time to list posts from photos category, and another to get posts from video category. The former works, the latter shows no results. Am I right?

    [Off-topic]BTW, I really like what you did with the plugin! Nice design![/Off-topic]

    Josh

    (@jmdziba)

    I am also experiencing the same issue. I am using the widget in a sidebar, with time-range of “Last 30 Days” with filter post-type, “posts”. Before the update, I had no categories defined under the filter. But when I saw the “no data yet” error message after the update, I defined the categories from which I wish the plugin to check for posts, and still this did not resolve the issue.

    markross67

    (@markross67)

    Hi Hector,
    I am also experiencing some issues with the latest update; is the version just prior to this latest update still available? I would like to revert back until the bugs are all resolved.

    Thank you, and thank you for this great plug-in!
    Mark

    Plugin Author Hector Cabrera

    (@hcabrera)

    @JMDezigns: you mean post-type post (singular form), right?

    @mark: yep, posted a link a few comments above.

    markross67

    (@markross67)

    I found the previous version (2.3.1) under The Developers Tab. I’m now back to where I was. I look forward to the bugs in the latest version getting ironed out.

    Mark

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘After Upgrade – Says No Data :(’ is closed to new replies.