It seems your theme doesn’t have <?php wp_footer(); ?>
in your theme footer.php http://codex.wordpress.org/Function_Reference/wp_footer
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?
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:
http://www.free-power-point-templates.com/all-inclusive-powerpoint-template/
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.
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.
Thanks.
Julian