Hi,

i use use the flag module (7.x-3.7) with Drupal 7.42 for a like button, but on some pages it leads to an ajax loop (ajax load and doesnt stop). Can someone help me with this issue.

This is the error which i get after clicking on the flag like button:

jquery.min.js?v=1.9.1:4 Uncaught Error: Syntax error, unrecognized expression: <span class="flag-wrapper flag-like flag-like-568">
      <a href="/flag/unflag/like/568?destination=node/568&amp;token=tYEyt9cfO5CwcpSKMY7KTFzZQJes41qGfItojyL5z1Q" title="" class="flag unflag-action flag-link-toggle flagged btn btn-sm style3 post-like pos-bottom wow infinite pulse" data-animation="pulse" data-wow-delay="1300" rel="nofollow">
      <i class="fa fa-heart"></i> <p class="heart">4</p>
    </a>
    <span class="flag-throbber">&nbsp;</span>
            <span class="flag-message flag-success-message flag-flagged-message flag-auto-remove">
          </span>
    </span>

is their a problem with the destination of the node oder what can i do?

thanks for help!

best,

Comments

vgutekunst’s picture

can someone give me a hint?

ajay547’s picture

Hi Lolhonk,

Please try Rate module, I have used this in many site and is working fine.
If still issue please let me know, and please explain the scenario, I will try to reproduce it on my local

Thanks & Regards,

Ajay Singh