WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
[resolved] View Counts stoped working (16 posts)

  1. CrossX
    Member
    Posted 6 months ago #

    WP-Post View stop-ed counting with the latest update of "w3 total cache"!

    Is there any quick solution?

    Thanks!

    http://wordpress.org/plugins/wp-postviews/

  2. Lester Chan
    Member
    Plugin Author

    Posted 6 months ago #

    You sure it stopped counting or the display of the views is cached? You can check the count of the post in the custom meta field under the edit post screen to see if it increases when you visit the post.

  3. CrossX
    Member
    Posted 6 months ago #

    It's stopped! Custom field under posts is the same as All Posts on WP Panel and the same on site post page...

    It start counting only if I disable W3TC! (Version 0.9.3 ) :/

    ?

  4. Lester Chan
    Member
    Plugin Author

    Posted 6 months ago #

    What is your site URL? I want to check the AJAX request

  5. CrossX
    Member
    Posted 6 months ago #

    I forwarded you the link on Google-Hangouts!

    I just notice also that, the_views(); is returning an empty string!

  6. CrossX
    Member
    Posted 6 months ago #

    sorry, the_views(); is working!

    Rolling back to older version of W3TC and I'm checking if it works!

  7. CrossX
    Member
    Posted 6 months ago #

    Is not counting either with W3TC Version 0.9.2.11

  8. Lester Chan
    Member
    Plugin Author

    Posted 6 months ago #

    I don't use Google Hangout much, just paste the link here.

  9. CrossX
    Member
    Posted 6 months ago #

    Here is the page link

    Thank you!

  10. Lester Chan
    Member
    Plugin Author

    Posted 6 months ago #

    the plugin is not activated on your site ether that or WP_CACHE is set to false which contradict your first statement.

  11. CrossX
    Member
    Posted 6 months ago #

    Really strange, because both plugins are activated!

    http://i41.tinypic.com/23wo9zp.jpg

    <!-- Served from: www. .com @ 2013-10-08 18:09:36 by W3 Total Cache -->

    The same issue i have on another site.

  12. Lester Chan
    Member
    Plugin Author

    Posted 6 months ago #

    I am not too sure what happen in your case, if WP_CACHE is set to true, the plugin will inject a JS code to your header. But for your case the JS header is nowhere to be seen. I did a search for .js file in your header, beside your theme default .js file, it seems no other js file is in it.

    Try on the default theme to see?

  13. CrossX
    Member
    Posted 6 months ago #

    I think I solved! The problem was under jQuery!

    Thanks for you time and for the great plugin :)

  14. passegua
    Member
    Posted 2 months ago #

    Pleaze CrossX could you post your solution!

    The problem was under jQuery!

    What's that?

    I am having the same issue, not counting the posts view when w3 cache plugin is activate. More precisely I discover that minify is the culprit.

  15. CrossX
    Member
    Posted 2 months ago #

    @passegua

    Make sure the jquery is loaded on the header before all others js calls!

    edit: esclude jQuery from minify!

  16. passegua
    Member
    Posted 2 months ago #

    Thanks! But how?

    Meanwhile I discovered that, using the Minify: Help Wizard, and unchecking all the JavaScript files embeded in <head>, the counting works. Btw, I let checked all the following Cascading Style Sheets.

    Minify Help wizard: To get started with minify, we've identified the following external CSS and JS objects in the theme. Select "add" the files you wish to minify, then click "apply & close" to save the settings.

Reply

You must log in to post.

About this Plugin

About this Topic