Support » Plugin: Yasr - Yet Another Stars Rating » Some posts randomly reset to 0 stars

  • Quite often one or more of my posts will show 0 stars for the overall rating. To fix it I have to edit the post, select a different rating, then set the correct rating and finally, update the post.

    It’s incredibly frustrating because I never know when it has happened unless I happen to view an affected post.

    Eventually, I plan to find another alternative but am not looking forward to removing the shortcodes from 100+ old posts.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author dudo

    (@dudo)

    Hi, thank you for using Yasr and Happy Easter.

    This is sooo strange and I understand your frustation.

    Can you please list your plugins?

    Best,
    Dario

    Thread Starter crabdog

    (@crabdog)

    Hi Dario,

    There are many plugins but here goes:

    Accelerated Mobile Pages
    Ad Inserter
    Akismet
    All In One SEO
    BJ Lazy Load
    Contact Form 7
    Enhanced Media Library
    Envato Market
    Fast Velocity Minify
    Featured Images in RSS for Mailchimp
    Google Analytics Dashboard for WP
    Insert Headers and Footers
    No Self Pings
    Official MailerLite Sign Up Forms
    PushEngage
    Redirection
    Shortcodes Ultimate
    Updraft Plus
    Wordfence Security
    WP to Buffer
    WP-Optimize
    wpDiscuz
    Yet Another Stars Rating

    It would be so great if we can find a solution.
    Regards

    Plugin Author dudo

    (@dudo)

    I’m tying to reproduce it but with no luck.

    Do you use the gutenberg editor?

    Thread Starter crabdog

    (@crabdog)

    Yes, I use Gutenberg.

    Just to be clear, when I say that the overall rating resets to 0 I mean on the front end only. In the post editor the score shows correctly but on the actual post it shows 5 grey stars.

    It happens across different devices and browsers so it’s not a browser cache issue.

    Regards

    Plugin Author dudo

    (@dudo)

    Thanks for the clarification.

    This is even more strange: I’m doing some test and let you know.

    Yeah same thing is happening with me also. It looks like after a certain time some of the votes just go to zero, and it is frustrating. Some however are correct. It looks like you have a bug going on!! I tested this on a proxy, on another computer i have never used and on a cell phone. I was going to upgrade to pro, but honestly if it is working like this, it is pointless to use. I have cleared my hosting cache as well!

    Thread Starter crabdog

    (@crabdog)

    @hightechbranding thanks for the info. I was sure there must be some other people affected by the same bug.

    I keep coming across these “reset” ratings regularly. It’s incredibly frustrating as I have well over 100 reviews and I don’t have the time to keep checking them all.

    I also noticed that if I go to edit one of these posts with broken rating, when I click on the stars to update the score I get the “loading, please wait” message and animation and it just spins indefinitely. I need to click on the stars 2 or 3 times before it loads the new score.

    Yeah it seems random, what is strange they will be there for awhile, and then be gone. I thought i was losing my mind, but i have double checked all the ones that have stars, and some are gone. This exact same thing happened to me before with woocommerce also. Had ratings and one day they were gone. I have gone as far as removing wordfence and i replaced that with another plugin, just to see if wordfence could possibly be the culprit.

    Plugin Author dudo

    (@dudo)

    This is driving me crazy: nothing is wrong in the code;

    Do you also are using gutenberg?

    No I have it deactivated, There is only a few things i think it could be. Either wordfence blocked the request when voting or it has to do with voting from the backend. I removed wordfence and replaced it, it is bad about blocking things, i have discovered that it even blocks sometimes while editing with BB, it will reject it. So i just went ahead an dumped it. So far so good, i am thinking this may be wordfence, but it will take time to tell. As of right now i dont see any new missing votes.

    This just happened again for me- happened a few weeks back as well and I dont use Wordfence. As stated, on my site the stars are Grey and at Zero, and when I go to edit, the Rating is still indeed there, but I have to click again for it to register a 4.5 or 3 star vote etc., then Publish it again.

    Plugin Author dudo

    (@dudo)

    Hi guys, can you please add and overwrite these files inside the /lib directory in the plugin? https://github.com/Dudo1985/yasr-exp

    Then please post a link to the site with these files

    • This reply was modified 2 years, 5 months ago by dudo.
    Thread Starter crabdog

    (@crabdog)

    @dudo just copied the files to /lib

    Fingers crossed, hope it works. Really appreciate your efforts and support, thanks.

    Plugin Author dudo

    (@dudo)

    Can you provide a link?

    That should not fix anything, but help me to debug

    Plugin Author dudo

    (@dudo)

    Can you please try with version 1.9.6?

    I’ve changed a lot of stuff in how overall_rating date is stored in the db.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Some posts randomly reset to 0 stars’ is closed to new replies.