Title: JS error triggered
Last modified: December 12, 2019

---

# JS error triggered

 *  [jpujolcat](https://wordpress.org/support/users/jpujolcat/)
 * (@jpujolcat)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/)
 * Hi!
    I use your plugin and Product Enquiry pro in my website. After serveral 
   uupgrades, If your plugin is enabled, product enquiry pro doesn’t works. I contacted
   to product enquiry pro creator and they told me this:
 * We analyzed your issue. Found that on click of any button on your site there 
   is a JS error triggered.
    Uncaught Error: Syntax error, unrecognized expression:
   a[href$=".pdf"] at Function.ea.error (jquery.js?ver=1.12.4-wp:2) at ea.tokenize(
   jquery.js?ver=1.12.4-wp:2) at ea.compile (jquery.js?ver=1.12.4-wp:2) at ea.select(
   jquery.js?ver=1.12.4-wp:2) at Function.ea (jquery.js?ver=1.12.4-wp:2) at Function.
   a.find (jquery-migrate.min.js?ver=1.4.1:2) at HTMLBodyElement.handlers (jquery.
   js?ver=1.12.4-wp:3) at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3) at
   HTMLBodyElement.r.handle (jquery.js?ver=1.12.4-wp:3)
 * Due to this reason, the JS for our button is not getting triggered. This error
   is due to the WP Google Analytics Events plugin. When deactivated this plugin
   the error is resolved and our plugin functions properly.
    Please contact the 
   support of WP Google Analytics Events plugin regarding this issue.
 * Can you help me?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-error-triggered%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/#post-12230646)
 * Hi [@jpujolcat](https://wordpress.org/support/users/jpujolcat/)
 * Can you please attach a screenshot of the edit dialog of the click event for 
   the PDF download?
 * Thanks,
 * Yuval
 *  Thread Starter [jpujolcat](https://wordpress.org/support/users/jpujolcat/)
 * (@jpujolcat)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/#post-12233925)
 * Hi [@yuvalo](https://wordpress.org/support/users/yuvalo/)
    Sorry… I don’t understand
   what you ask… (I’m a unexpert). Can I give you admin credentials to login to 
   my website? thanks
 *  Thread Starter [jpujolcat](https://wordpress.org/support/users/jpujolcat/)
 * (@jpujolcat)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/#post-12245234)
 * Hello!
    Can we talk privately and I give you admin credentials to check it, please?
 * thanks!
 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/#post-12263526)
 * Hi,
 * Here is another thing that could help us –
    1. Go to the plugin’s general settings
   tab 2. Click the export button 3. Head over to wpflow.com/support and open a 
   ticket. 4. Reply to the automated email reply and attach the export file.
 * It will help us reproduce your settings on our test machines.
 * We try to avoid logging in to user websites as we don’t want to make any mistake
   that will cause the site to crash.
 * Thanks for understanding and happy holidays,
 * Yuval

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

The topic ‘JS error triggered’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-analytics-events/assets/icon-256x256.jpeg?rev=
   2189709)
 * [WP Google Analytics Events - No-Code Custom Event Tracking for Google Analytics](https://wordpress.org/plugins/wp-google-analytics-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-analytics-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-analytics-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-analytics-events/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/js-error-triggered/#post-12263526)
 * Status: not resolved