• Resolved astor130

    (@astor130)


    Hi Hector,

    I’m afraid I have to ask you the most boring and common question you must receive- why is the ‘no data’ message showing? I’ve read through your FAQs and the other support threads here and have come up with nothing.

    The posts have views and a table is showing up on the plugin settings page; The wp_head() tag is in the header; I have checked the phpMyAdmin database and can see the tables being edited and updated; I have a caching plugin (WP Fastest Cache) and have flushed it multiple times, disabled it, and deleted it. I have also disabled all other plugins on the page except for Popular Posts, with no success. I have also tested the issue in Chrome, Firefox, and Explorer. Data sampling is disabled.

    The plugin is working, it just doesn’t seem to be rendering on the frontend. Chrome console shows “jQuery is not defined” and the error console shows “Uncaught SyntaxError: Invalid or unexpected token” and “JQMIGRATE: Migrate is installed”. I have checked that jQuery is not stuck in the footer.

    Here is my website. The plugin is on the right sidebar in between the two square ad units.

    Thanks for any ideas you might have, and thanks for all you do.

    • This topic was modified 7 years, 11 months ago by astor130.
    • This topic was modified 7 years, 11 months ago by astor130.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey there!

    This has been the most complete “Sorry, no data so far” report in a while, so thank you for being so detailed in your post.

    The problem apparently is quite simple: WP Fastest Cache is caching everything – including the widget. This is why you keep seeing the “Sorry, no data so far” message. The fix is simple as well:

    1. Go to Settings > WordPress Popular Posts > Tools.
    2. Under Data, find the Ajaxify widget dropdown, set it to Enable and click on the Apply button below to save changes. This will make WPP load the widget via AJAX and thus avoiding being cached by WP Fastest Cache.
    3. Clear WP Fastest Cache’s cache.
    4. Profit!
    Thread Starter astor130

    (@astor130)

    Hi- thanks for the reply.

    Ajax had been enabled, but I disabled and enabled it again to double check with no success. I also tried clearing, disabling, and deleting WP Fastest Cache again, also with no success. I have also now tested the issue in Safari with no change.

    So, I’m at a bit of a dead end.

    Thanks again for your help and any further suggestions you might have.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, can you please share your widget’s configuration? (eg. upload a screenshot to https://prnt.sc/ and post the URL here.)

    Thread Starter astor130

    (@astor130)

    https://prnt.sc/epjdhz

    The stats are posts, ordered by views, in the last 24 hours.
    No changes have been made to the source files.

    Plugin Author Hector Cabrera

    (@hcabrera)

    No, no. What I need to see is WPP’s widget settings ??

    Thread Starter astor130

    (@astor130)

    I think this is what you’re looking for?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Yep, that was exactly it. Thank you!

    Alright, there’s a minus sign all alone in the Category ID(s) input field. Remove it and check again, please.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sorry. No data so far.’ is closed to new replies.