Title: Sorry no data
Last modified: August 22, 2016

---

# Sorry no data

 *  Resolved [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/)
 * I installed the plugin yesterday,
    Gave it some time and only shows data in the
   all-time tab I checked the wp_head, the tables are there and I am not using any
   cache plugin. you can see the page here [http://vif.com.mx/site/cambiando-de-tema-2/](http://vif.com.mx/site/cambiando-de-tema-2/)
 * Thank you
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 15 replies - 1 through 15 (of 55 total)

1 [2](https://wordpress.org/support/topic/sorry-no-data/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/sorry-no-data/page/3/?output_format=md) 
[4](https://wordpress.org/support/topic/sorry-no-data/page/4/?output_format=md) 
[→](https://wordpress.org/support/topic/sorry-no-data/page/2/?output_format=md)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409576)
 * Hi there,
 * It seems to be a problem with the WPML plugin. Which version do you have installed
   on that site?
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409646)
 * Hello,
    I am using Polylang 1.4.5 but the site is live and cant go on deactivating
   plugins freely
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409658)
 * Ah, I see. It seems Polylang doesn’t like it very much when other plugins use
   WPML APIs directly instead of theirs. I’ll see what I can do.
 * **Edit:** yep, it’s because of Polylang. When only WPML is installed the plugin
   works fine (just tested locally), but Polylang messes with it somehow.
 * The good people of Polylang say that the way plugins detect WPML (including WPP)
   [is wrong](http://polylang.wordpress.com/2014/05/30/fatal-error-call-to-a-member-function-on-a-non-object-in/)–
   even if [the people at WPML forums say it’s OK to do it that way](http://wpml.org/forums/topic/api-to-get-the-default-language/).
 *  [blogseolady](https://wordpress.org/support/users/blogseolady/)
 * (@blogseolady)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409672)
 * I believe I’ve used this plugin before. Sometimes it would say “no data” after
   I moved things around or installed/unstalled plugins and widgets. What do you
   mean by “all time tab” only? I don’t read Spanish well. It seems you have tabs
   for latest, popular and best. There seems to be a message like “Sorry nothing
   to show here” in the popular tab, but there are three posts displayed there.
 * It’s been so long since I worked on the site that I used it in, I can’t recall
   its features right now. Are you looking for like “most popular today,” most popular
   this week,” etc.?
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409673)
 * Oh I see, aaaand… what should I do? try another plugin or is there a way around
   this? I was really into your plugin
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409674)
 * hello there blogseolady, the “all time” tab is inside the admin of the plugin.
   the posts you are seeing displayed are from another plugin that I have been testing
   and wanted to see if it would do.
    I am looking for an all time most popular
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409679)
 * There might be a way around it but since I’m busy and can’t check for myself 
   at the moment, you’ll have to do it for me:
    1. Go to _Plugins > Editor_ and select _WordPress Popular Posts_ from the dropdown
       on the right.
    2. Find:
    3.     ```
           // WPML support, get original post/page ID
           if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) {
           	global $sitepress;
           	$id = icl_object_id( $id, get_post_type( $id ), false, $sitepress->get_default_language() );
           }
           ```
       
    4. … and change it to:
    5.     ```
           // WPML support, get original post/page ID
           if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) {
           	$wpml_options = get_option( 'icl_sitepress_settings' );
           	$id = icl_object_id( $id, get_post_type( $id ), false, $wpml_options['default_language'] );
           }
           ```
       
    6. Hit the _Update file_ button to save changes.
 * Please let me know how it goes.
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409684)
 * I just tried it, I also disabled the other plugin I was testing, just to be sure,
   and it still says there is nothing to show :/
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409685)
 * Check again, the plugin is working now 🙂 You didn’t need to disable Polylang,
   though. The “fix” I posted above was to have WPP to be able to coexist with Polylang
   😛
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409686)
 * Oh, and keep in mind that WPP can only track posts / pages from your own site.
   It cannot track external links such as “Los maestros y sus enseñanzas”.
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409687)
 * Oh great! maybe it needed some time :).
    Although in the admin it shows a bunch
   of posts that are not shown in the page :S maybe it’s the filters. But those 
   external links such as “los maestros y sus enseñanzas” are regular posts that
   have a redirect to the external site, even trough that method they cannot be 
   tracked?
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409688)
 * yup, it was the filter, now it shows perfectly, now i need to tweak the css and
   thats it. Also, it worked with the redirects! 🙂
    Thank so much
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409689)
 * Awesome 🙂 I thought these were mere RSS feeds or something, hence the notice
   above. Now I see you’re using post type formats (right?).
 * Anyways, thanks for helping me test! Enjoy the plugin!
 *  Thread Starter [lupach](https://wordpress.org/support/users/lupach/)
 * (@lupach)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409915)
 * Hi there Hector, it’s doing it again…
    Since the beginning of the month it started
   saying no data again, I thought it was because it was on a monthly basis and 
   it had no views yet. But the backend is registering new views everyday. I just
   updated the plugin and did again the fix you told me to do last time. But still
   no data is displayed. If I only write [wpp] it shows 5 posts from today. That’s
   good… BUT If I try to display the way that I had a month ago, like this: `[wpp
   range="monthly" header_start="<h2>" header_end="<h2>" order_by="views" post_type
   ="post" title_length=25 excerpt_length=55 stats_views=0 stats_date=1 post_html
   ="<li class="lista">{thumb} <a href='{url}'>{text_title}</a><p>{summary}</p> "
   limit=12]`
 * It says no data, I tried giving it some time and see what’s the deal.. but no
   luck, could you help me out please?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/sorry-no-data/#post-5409916)
 * Hi!
 * There were some issues with 3.2.0 and so a new release is available. Please update
   and let me know if the issue persists, alright?

Viewing 15 replies - 1 through 15 (of 55 total)

1 [2](https://wordpress.org/support/topic/sorry-no-data/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/sorry-no-data/page/3/?output_format=md) 
[4](https://wordpress.org/support/topic/sorry-no-data/page/4/?output_format=md) 
[→](https://wordpress.org/support/topic/sorry-no-data/page/2/?output_format=md)

The topic ‘Sorry no data’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 55 replies
 * 7 participants
 * Last reply from: [andrake](https://wordpress.org/support/users/andrake/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/sorry-no-data/page/4/#post-5409967)
 * Status: resolved