Title: Javascript Conflict
Last modified: August 21, 2016

---

# Javascript Conflict

 *  Resolved [Southern Web](https://wordpress.org/support/users/southernweb/)
 * (@southernweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/)
 * `Uncaught TypeError: Object [object Object] has no method 'on' gprofiles.js?ver
   =2014Janaa:2`
 * This is breaking DataTables sorting in TablePress
 * [http://wordpress.org/plugins/jetpack/](http://wordpress.org/plugins/jetpack/)

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

 *  Thread Starter [Southern Web](https://wordpress.org/support/users/southernweb/)
 * (@southernweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549734)
 * Unchecking ‘View people’s profiles when you mouse over their Gravatars’ under
   Settings > Discussion does the trick.
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549868)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Most probably, the real reason for this is not in Jetpack, but maybe in your 
   theme: If the `on` method can not be found, this usually indicates that the jQuery
   JavaScript library is loaded twice (where the second copy is a very old version).
   Some theme unfortunately do this.
    For more information, please see [http://tablepress.org/faq/js-functions-not-working/](http://tablepress.org/faq/js-functions-not-working/)
 * Regardless, if unchecking that checkbox in the Gravatar settings helps, that’s
   of course good short-term solution. In the long-term, you should fix that jQuery
   issue in the theme.
 * Regards,
    Tobias
 *  Thread Starter [Southern Web](https://wordpress.org/support/users/southernweb/)
 * (@southernweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549905)
 * jQuery is indeed enqueued properly via functions.php
 * No duplicate version in source.
 * Hope this work around helps others.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549909)
 * > jQuery is indeed enqueued properly via functions.php
   >  No duplicate version 
   > in source.
 * Could you post your site URL here, so we can have a look?
 * If you want it to remain private, you can also contact us via this contact form:
   
   [http://jetpack.me/contact-support/](http://jetpack.me/contact-support/)
 *  Thread Starter [Southern Web](https://wordpress.org/support/users/southernweb/)
 * (@southernweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549910)
 * [http://totalatlantarealty.com/neighborhoods/active-adult-communities/](http://totalatlantarealty.com/neighborhoods/active-adult-communities/)
 * jQuery DataTables working correctly now since unchecking ‘View people’s profiles
   when you mouse over their Gravatars’ under Settings > Discussion
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549913)
 * The search fields you’ve added to your sidebar seem to add multiple Javascript
   libraries to your site, including some old libraries:
    [http://search.totalatlantarealty.com/idx/searchQuickFreeText_js.cfm?cid=59964](http://search.totalatlantarealty.com/idx/searchQuickFreeText_js.cfm?cid=59964)
 *     ```
       jquery-1.6.2.min.js
       ```
   
 * I would recommend that you remove these old libraries and use `wp_enqueue_script`
   instead, as [@tobiasbg](https://wordpress.org/support/users/tobiasbg/) suggested
   earlier.
 *  Thread Starter [Southern Web](https://wordpress.org/support/users/southernweb/)
 * (@southernweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549914)
 * Ah… Silly me. This subdomain is a third party real estate search engine that 
   we can’t control. Thanks for the help.
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549915)
 * Hi,
 * great to hear that you found the cause for this! 🙂
 * Regards,
    Tobias

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

The topic ‘Javascript Conflict’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-5/#post-4549915)
 * Status: resolved