• Resolved pimmeelhuysen

    (@pimmeelhuysen)


    Hi,

    Strange thing occurs. Stars are visible when no reviews are in. I’m using the following shortcode:

    [site_reviews_summary assigned_to=”post_id” hide=”bars,if_empty,rating,summary”]

    What is going wrong?

    Thank you!

    Pim

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Since the summary counts are cached, this could happen for a number of reasons. The most likely reasons would be if you deleted your reviews in a non-standard way, or if you imported your settings from another site. To fix this, go to the “Site Reviews > Tools” page and hit the recalculate counts button.

    Thread Starter pimmeelhuysen

    (@pimmeelhuysen)

    Hi,

    Thank you.

    I’ve recalculated the counts, but the problem remains.

    What other steps can I take?

    Pim

    Plugin Author Gemini Labs

    (@geminilabs)

    So you have no reviews at all but the summary shows that you do? Are you using a caching plugin or is your website being cached server-side?

    Please use the “Contact Support” section on the help page to send your system info report and console log.

    Thread Starter pimmeelhuysen

    (@pimmeelhuysen)

    Yes, for certain posts the summary is showing without having reviews.
    Yes, we are using caching plugins, but emptying or deactivating them doesn’t solve the issue.

    I have noticed (just yet) that it only appears when duplicating posts. When creating new posts the issue does not arise.

    Before contacting support, maybe this insight brings a new solution?

    Thank you

    Plugin Author Gemini Labs

    (@geminilabs)

    Ah. If you cloning/duplicating the reviews, this would explain it as that would bypass the auto calculation of the summary rating (which is stored for faster retrieval).

    Duplicating reviews is not supported, as that will duplicate some meta_key values that are meant to remain unique. You may attempt to do so, but you will always need to use the “Recalculate counts” tool afterwards, and it is not guaranteed to work (due to the duplicated meta_keys).

    Thread Starter pimmeelhuysen

    (@pimmeelhuysen)

    Just to be clear. We are duplicating posts in order to re-use parts of it, not reviews (at least not intentionally).

    I thought reviews were assigned to post IDs. Creating new posts and thus new IDs (by duplicating) would mean no reviews should be assigned, hence no summary should be visible.

    But on duplicated posts, with no reviews, the summary (stars) is visible.

    Questions:
    * How to remove the summary (stars) on duplicated posts when no reviews are present?
    * How to make sure this doesn’t happen again when duplicating posts?

    Thank you for your time

    Plugin Author Gemini Labs

    (@geminilabs)

    If you are duplicating pages that already have assigned reviews, you will need to delete the meta_keys (on the duplicated pages) that Site Reviews uses to store the summary information to the assigned page.

    Please see: https://pastebin.com/x0VFeHeY

    For example, once you have enabled the code snippet from the link above (you can use the Code Snippets plugin for this), you can use the Custom Fields Meta Box on the page to remove the meta_keys:

    Once you have finished, go to the Site Reviews Tools page and hit the “Recalculate Counts” button, then disable the snippet.

    • This reply was modified 4 years, 9 months ago by Gemini Labs.
    Plugin Author Gemini Labs

    (@geminilabs)

    I will fix this in a future update so that using the “Recalculate Summary Counts” tool will also purge obsolete _glsr_* meta_keys from your pages.

    Thread Starter pimmeelhuysen

    (@pimmeelhuysen)

    Thank you so much.

    I’ll give that a try.

    Great support.

    Plugin Author Gemini Labs

    (@geminilabs)

    Fixed in v4.5.0

    I also updated the Tool description:

    Thread Starter pimmeelhuysen

    (@pimmeelhuysen)

    YOU ARE AWESOME!!!

    Your update solved everything.

    Thank you again!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Stars visible with no reviews’ is closed to new replies.