Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By vgutekunst on
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&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"> </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
can someone give me a hint?
can someone give me a hint?
Hi Lolhonk,
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