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

    (@hcabrera)

    Hi @benjhedera,

    You’re currently using the SG Optimizer plugin which qualifies as a caching plugin. This FAQ should help: Is WordPress Popular Posts compatible with caching plugins?

    If you have any further questions don’t hesitate to ask.

    Thread Starter benjhedera

    (@benjhedera)

    Hi @hcabrera

    As mentioned in my initial post I’ve tried everything in those articles. I disabled the SG Optimizer plugin (along with every other plugin), purged the server side cache, cleared the WordPress cache, cleared browser cache, and even attempted to view my website incognito and using a third party site such as KProxy, nothing fixes the issue.

    Neither does switching to another theme… I’m completely baffled as to why this is happening, it’s very frustrating and has been a big waste of time.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, the reason why I suggested reviewing that FAQ is because you don’t seem to be using the WPP widget on that section but the [wpp] shortcode or the wpp_get_mostpopular() template tag. The very last paragraph of that FAQ states the following:

    (…) if you’re using the [wpp] shortcode or the wpp_get_mostpopular() template tag you will need to find a way to prevent your caching plugin from caching your popular posts list (…)

    Is that the case? Are you inserting a [wpp] shortcode on that page to show your most popular posts?

    • This reply was modified 3 years, 6 months ago by Hector Cabrera. Reason: Fixed typo, rephrased last paragraph for clarity
    • This reply was modified 3 years, 6 months ago by Hector Cabrera.
    Thread Starter benjhedera

    (@benjhedera)

    Yeah, I’ve used the shortcode in a Divi text module. That seemed like the best option.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Then that explains it: what you’re seeing is likely the cached version of your popular posts list when there were no pageviews tracked yet, hence the “sorry, no data so far” message (as in “I don’t have popular posts to show”). I say “likely” because there could be other reasons, like the options you’re using with the shortcode.

    If it’s the former (most likely IMO) then, as the FAQ states, you need to figure out how to allow that section of the page to remain dynamic while using a caching plugin. Alternatively, although I’m not sure if Divi allows it, you should insert a WordPress Popular Posts widget in there instead of the shortcode so you can take advantage of the built-in “Ajaxify widget” feature.

    Thread Starter benjhedera

    (@benjhedera)

    Okay – so how exactly would I go about placing the widget in the divi page? Would I use a Divi code module and then place some sort of JS code in there?

    If you could advise the best way to do that that would be great and I can avoid using the shortcode method.

    Thanks for your help!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Couldn’t say, I’m not that familiar with Divi to be honest so can’t really give you a solid suggestion here. A quick Google search got me this: How to Put a Widget into Divi Module. Maybe that’ll do the trick? Please let me know as I’m curious and it might actually help future readers as well.

    Thread Starter benjhedera

    (@benjhedera)

    So I just tried to do pretty much that on my own.. and this is the result.

    https://benjamina40.sg-host.com/

    I also enabled Ajaxify on the plugin settings and no dice. Also I was getting the “Sorry. No data so far.” error when I switched to Twenty Twenty-One theme, so I really don’t think this is a divi issue.

    I’ve also tried to create a basic page on my website without using the Divi builder and the shortcode, and this is the result.

    https://benjamina40.sg-host.com/popular-posts-test/

    Please let me know what you suggest. At this point it just seems like this plugin isn’t going to work for me.

    Plugin Author Hector Cabrera

    (@hcabrera)

    I’ll have a look sometime tomorrow, not near a computer right now. I’ll leave a comment here once I do.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, I had a look at your test page. I see that the list on the right is a proper widget sidebar, the one on the left is a shortcode?

    The right one is being loaded via Ajax which is what you want, however it still shows the “Sorry, no data so far” message which makes me think that there’s likely a setting you need to adjust somewhere. What settings are you using with the widget? Could you please share a screenshot of that?

    Thread Starter benjhedera

    (@benjhedera)

    Not sure which screen you wanted a screenshot of but here is a link to the “Tools” page in the settings:

    https://www.awesomescreenshot.com/image/8094140

    And here is a link to a screenshot of the “Debug” screen in the settings:

    https://www.awesomescreenshot.com/image/8094180

    Alternatively I can create a user for you if you want. Thanks for looking into this.

    Plugin Author Hector Cabrera

    (@hcabrera)

    I meant these settings: WP Dashboard > Appearance > Widgets > [Your Sidebar Here] > WordPress Popular Posts.

    As an aside, Awesome Screenshot requires user registration / login in order to allow people to see the actual screenshots uploaded to their website (why do they do that?) Please consider using https://postimages.org or https://prnt.sc instead next time.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alternatively I can create a user for you if you want.

    Thanks for the offer, unfortunately WordPress’ Forum Guidelines forbid this (see: The Bad Stuff…)

    Thread Starter benjhedera

    (@benjhedera)

    Oh okay! I got it using the widgets. I was listing posts only, which I have zero of, and not pages. It is working now ??

    Thanks for your help!

    Plugin Author Hector Cabrera

    (@hcabrera)

    I had a strong suspicion that it was exactly that but needed the screenshot to be sure ?? Glad you were able to figure it out!

    Enjoy the plugin and have a nice day!

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