Title: Plugin freeze after voting
Last modified: August 21, 2016

---

# Plugin freeze after voting

 *  Resolved [fmonserrate](https://wordpress.org/support/users/fmonserrate/)
 * (@fmonserrate)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/)
 * Hi shauno,
 * After voting plugin freeze….
 * Please see here:
    [http://petspot.info/galeria/](http://petspot.info/galeria/)
 *  and please submit a vote…you will understand.
 * I have Pro version.
 * Best Regards
 * [http://wordpress.org/extend/plugins/nextgen-gallery-voting/](http://wordpress.org/extend/plugins/nextgen-gallery-voting/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653620)
 * Hi fmonserrate
 * I seems as though the ajax isn’t being picked up properly once the vote is saved.
   From what I can see in your source code, it seems you are running some sort of
   HTML compression plugin or code. The code most probably removed HTML comment (
   eg <!– this is a comment –>).
    The voting process needs to have comments outputted
   in the source code, as it using them to parse the response and understand the
   vote.
 * Try disabling that plugin/code, and testing again.
 *  Thread Starter [fmonserrate](https://wordpress.org/support/users/fmonserrate/)
 * (@fmonserrate)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653629)
 * Hello!
 * yes…you are right!
 * I have some code in functions.php to compress HTML…if i remove that…your plugin
   works good!
 * Thank’s one more time for the great support!
 * Best Regards
 *  Thread Starter [fmonserrate](https://wordpress.org/support/users/fmonserrate/)
 * (@fmonserrate)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653631)
 * …by the way … i have some chance to put both work together?
 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653695)
 * Hi again fmonserrate
 * Can you email me the code you are using to shaunalberts AT gmail DOT com. I will
   have a look at it and see if I can make it work with NGG Voting. I can’t promise
   anything though 🙂
 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653718)
 * Just to resolve this for anyone else coming across it. The site was using a HTML
   compression class named `"WP_HTML_Compression"`, and it was removing HTML comments
   from the source code. NGG Voting needs HTML comments to parse the JS response
   with AJAX voting. Simply setting the variable `$remove_comments` to `false` in
   the class definition solved the problem.
 *  Thread Starter [fmonserrate](https://wordpress.org/support/users/fmonserrate/)
 * (@fmonserrate)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653719)
 * ok! Thank you very much!
 * Have a nice weekend!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin freeze after voting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-voting.svg)
 * [NextGEN Gallery Voting](https://wordpress.org/plugins/nextgen-gallery-voting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery-voting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery-voting/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery-voting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery-voting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery-voting/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [fmonserrate](https://wordpress.org/support/users/fmonserrate/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-freeze-after-voting/#post-3653719)
 * Status: resolved