• caycompass

    (@caycompass)


    Hello,
    Great plugin.
    We just noticed yesterday that clicking ‘like’ or ‘dislike’ doesn’t update the count on ‘random’ computers and browsers. The count definitely did not update when liked/disliked on iphones. This is for anonymous users, who we want to simply tell us whether or not the article was useful or not with thumbs up/down.
    We’re running latest WP with WP Supercache and Autoptimize, then through Cloudflare for CDN.
    Is there a particular thing that should be excluded from optimization/minifying?
    I tried adding the line below in “Exclude scripts from Autoptimize:”
    toucheventsdetect.js, like-or-dislike.js
    The above made no difference, meaning that clicking on the like button did nothing.
    There is no javascript optimization being done in Cloudflare, so it’s likely a php or javascript issue before it gets to Cloudflare.
    Click on any story here: https://www.caymancompass.com to find like/dislike under the article body.
    Anyone have clues where we should start looking to troubleshoot this? Is it a php or javascript issue?
    Thanks in advance for any help you can provide.

    • This topic was modified 8 years ago by caycompass.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Anyone have clues where we should start looking to troubleshoot this? Is it a php or javascript issue?

    check the browser console for JS errors maybe? and try loading a page with ?ao_noptimize=1 appended to the URL (which disables autoptimize for that request) to see if the problem is linked to AO?

    frank

    Thread Starter caycompass

    (@caycompass)

    Hi Frank,
    Thank you for the prompt response.
    I believe that Autoptimize was not the issue, but rather either WP Supercache, or a glitch with WP/server.
    It appears to be working again. I did not change a thing after posting the above question. I only checked a few hours later, and works fine on an iphone this time.
    I’ll keep an eye on it.
    PS: Autoptimize works great (once we figured out which js to exclude from our huge install.) Thanks for making the plugin.

    Thread Starter caycompass

    (@caycompass)

    We’re still having some users complaining about the plugin intermittently not updating likes.
    We have some suspicions that it’s a caching issue.
    How do we ensure that voting clears the cache for that post?
    Can anyone provide some clues on how to troubleshoot/fix this?

    Thanks in advance for any help you can provide.

    • This reply was modified 7 years, 11 months ago by caycompass. Reason: new information added
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Like Dislike count on posts does not update’ is closed to new replies.