Hi Jérôme!
It appears you’re using a caching plugin on your site. Which one is it and how often does it expire its cache?
Mr. Hector Cabrera,
WPP display nothing in my site (www.poentjakweg.com). I use W3 Total Cache. Please advice.
Thanks
-
This reply was modified 8 years, 6 months ago by
Nur Zakaria.
Hi @nur-zakaria,
Try clearing W3TC’s cache and see if it helps. If it doesn’t and you’re still having issues please let me know.
Thanks for your quick response.
I’ve cleared W3TC’s cache many times but I still found the same problem. There is no data record in WPP Stat.
Everything is OK before I updated this plugin and activated W3TC.
Just checked your site @nur-zakaria and it appears WPP’s tracking script isn’t being executed which explains why WPP stopped registering the visits.
You seem to be using W3TC’s minification options (or some other plugin to minify JS files) so:
- Disable the JS minification (or at least find a way to exclude wpp.js from being minified).
- Clear W3TC’s cache again.
- Visit one of your posts using another browser and then go to Settings > WordPress Popular Posts to check whether WPP was able to register your visit.
OIC… he.. he..
this is the problem.
After I disabled the JS minification in W3TC, it works normally.
But I don’t prefer this because Google Page Speed Tools suggest me to eliminate render blocking the other JS by minifying it.
I’ve tried to exclude wpp.js and tracking.js from JS minification in W3TC setting. The WPP stat works normally. WPP able to register my visit. But it still displays nothing in the widget. Any solution ?
thanks
The WPP stat works normally. WPP able to register my visit. But it still displays nothing in the widget. Any solution ?
Here’s the problem: https://prnt.sc/hd5c5n
You’ll need to exclude jQuery as well – or find some other way to make it load before WPP does.
GREEAAATTT….!
It works, Hector.
I exclude jquery.js from JS minification in W3TC.
Now, WPP widget able to display popular post.
I learn much from our conversation since I’m beginner in WP.
Thank you very much for your kindness to teach me step by step.
I try to wrap it up here so it can be useful information for someone who face the same problem :
Problem : WordPress Popular Post widget & stat display no data (unable to register any visit)
Cause : The problem appears after enabling Minify in W3 Total Cache Plugin
Solution : Exclude jquery.js, tracking.js & wpp.js by specified it in W3 Total Cache plugin’s “Never minify the following JS files:”.
thanks