Support » Plugin: WP-PostRatings » Ratings stopped working…

  • Resolved jpanizzoli


    Not sure when or why this plugin stopped working, but I recently updated WordPress and many of the other plugins. I’m really not sure if this is what caused the problem, or if it occurred for another reason prior to this update.

    All the ratings are showing up, but when you place the cursor over the stars it won’t let you select a rating. Here’s a sample page:


    Any idea what’s going on here???

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan


    It seems your theme doesn’t have <?php wp_footer(); ?> in your theme footer.php

    I have no idea why it will work in the first place.

    Hi Lester, I am facing the same trouble. I just discovered that since July 30, 2013 (that’s where I had the last vote) the ratings in my site stopped working (people can’t vote).

    I tried to debug the AJAX call to wp-postratings.php and even if it is called from the view, there is no response.

    I am using WordPress 3.6 (I have wp_head and wp_footer in my theme).

    Was there any recent change or incompatibility? Or where can I start looking for a solution?

    Plugin Author Lester Chan


    I don’t think so it is compatibility issue, it works fine on both my test and production site on 3.6

    What is your site URL?

    Hi Lester, thank you for your response.

    Here is an example or URL:

    If you click the rating below the description you will see that there is no effect (I didn’t see any output coming after the Ajax call). I will appreciate your comments. Thanks.

    Plugin Author Lester Chan


    Hmm, your page is very weird.

    1. The postratings.js file should be at the bottom and not suppose to be at the top. Did you do something to it?
    2. Also at the footer there is missing javascript variables for postratings which is related to 1.
    3. Please try on the default theme to see if it works first. I got a feeling it has nothing to do with the plugin.

    Hi Lester.

    Thanks for your response. The problem was related to the jQuery dependency. I noticed some js files in my theme were deregistered and and instead my theme was loading the jQuery and postrating JS files manually, which is discouraged. What was worked fine for long time got broken in a recent upgrade.

    Any way, what I did to fix it was letting WordPress load the jQuery stuff and this time wp-postratings was able to insert the js reference in the footer.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ratings stopped working…’ is closed to new replies.