Replies: 5
I’m migrating away from Top 10 to Popular Posts. I did the MyPHP migration and can confirm the WPP tables are there and their post id and page views values are correct.
When I go to the plugin’s Stats panel, it’s all blank except for the Hall of Fame panel, which is full and accurate. It’s displaying exactly what I can see in the popularpostsdata
table.
I put the [wpp_views_count]
short code on a page and it works as expected. But, [wpp]
is only returning “Sorry. No data so far.” no matter what I’ve tried.
I’m hosted at SiteGround and have added the sgo_javascript_combine_exclude_ids
filter for wpp-js. I don’t use their optimizer, but instead use the Debloat plugin. This is per their recommendation, and in fact they configured it (for a fee). I also excluded wpp-js and wpp.min.js in minifying and deferring.
I trouble shooted further and disabled all plugins and activated the Twenty Twenty-Four theme. So, even with everything disabled, [wpp]
doesn’t return any data…nor does the Stats panel show anything (other than under Hall of Fame).
Note, popularpostsdata
table had inserted today’s date in each of the 4000+ rows, but then why isn’t the Stats panel showing anything?
Then I tried viewing several post manually testing if WPP was tracking views and updating the tables. I finally got a couple of posts to appear in the Most Viewed panel. So I don’t undersatnd something about the WPP logic in the Stats. It can show posts I just looked at, but not include the thousands of posts that have tens of thousands of views in their history (even with last_viewed
set to today).
Still, even when I got a couple posts to show in the Most Viewed panel, [wpp]
is still returning “Sorry. No data so far.”
One more thing, when I added the WPP Widget for the sidebar I do get the proper list of articles (according to my settings). If I add the [wpp]
short code to the widget bar, it returns “Sorry. No data so far.”
Then I tried adding the Widget to the page (to replace using the [wpp]
short code, and that worked! Huh?