GD Star Rating
Star rarting does not work (10 posts)

  1. Marcel Brinkkemper
    Posted 3 years ago #

    The star rating does not work because of a javascript error.
    When you click on the stars, nothing happens.


  2. Jack
    Posted 3 years ago #

    I can't say if it's a javascript error, but I have the same problem. 'Everyone can vote' and I turned off every restriction. Previously it worked, but now it doesn't. I can't remember to have installed any new plugins since.


    Single page with rating stars:

  3. Jack
    Posted 3 years ago #

    Anyone? I tried everything possible (to my opinion), but it's still not working.

  4. LichKing
    Posted 3 years ago #

  5. Jack
    Posted 3 years ago #

    Thanks for the suggestion. It could be a jquery problem, although I haven't added new plugins before the day it stopped working. I think... It would be nice if the creator of this plugin could take a look at the source code of the pages, to see if there could be a jquery problem.


  6. gerald@WPcustoms
    Posted 3 years ago #

    I had the same error when I used the jquery from google ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js

    I deregistered that and enqeued the default version which is shipped with wordpress.

    you got a lot of JS scripts loaded and it could conflict with one single script and messed dependancy settings.

    please try to use the default wp-includes/jquery instead of the code.jquery.com/... hosted. that solved it for me.

  7. Marcel Brinkkemper
    Posted 3 years ago #

    Loading an other jquery than what is included in WordPress is a road to failure.
    However, on my site, with WordPress jquery, the javascript still returns an error.
    What a pity the plugin author doesn't visit this forum.

  8. Jack
    Posted 3 years ago #

    I finally found out it was the plugin called The The Tabs and Accordion that caused the conflict. Must have come with an update.

    @Gerald, is what you are saying (deregistering and enqueing) something that can be done without touching the plugins? In my header template of WP there are nog scripts loaded, other then the ones inserted by the plugins.

  9. Jack
    Posted 3 years ago #

    Ok, after searching a bit more I found the solution, so for those that have the same trouble, using GD star rating and The The Tabs and Accordion, this is how the troubles can be solved for both plugins:


    and suppress the following lines :

    wp_deregister_script( 'jquery' );
    wp_register_script( 'jquery', 'http://code.jquery.com/jquery-latest.min.js', false, 'latest');

    It seems that the fact that the jquery version is not defined (latest) brings some trouble with the plugin.

    Thanks to user Titi on the forum of the The The website.

  10. gerald@WPcustoms
    Posted 3 years ago #

    @Jack: scripts are registered by your theme`s functions.php or any plugin files. you can call it where ever you want.
    to answer your question - yes you have to dive into the theme\plugin folders.

    It depends on the theme\plugin authors and if he knows his stuff it will work with other well-coded plugins.
    As macbrink said: stick to the included WP script versions.
    call your JS with correct dependancies and version settings and incompatibilities are reduced to a minimum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.