Title: JS error
Last modified: August 21, 2016

---

# JS error

 *  Resolved [420DankStank](https://wordpress.org/support/users/420dankstank/)
 * (@420dankstank)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/js-error-4/)
 * Hello!
    I am getting a javascript error. My widgets aren’t moveable, screen options
   not clickable, etc. So I tried Script Debug, but that didn’t work. Chrome says
   my error is Uncaught TypeError: Object [object Object] has no method ‘on’. The
   error is in common.js on line 180. Line 180 says:
 * > menu.on(‘click.wp-submenu-head’, ‘.wp-submenu-head’, function(e) {
 * If I click the arrow next to the Error on the console, it displays a few more
   errors:
 * > Uncaught TypeError: Object [object Object] has no method ‘on’ common.js:180
   > (
   > anonymous function) common.js:180 e.resolveWith jquery.min.js:613 e.extend.
   > ready jquery.min.js:407 c.addEventListener.C jquery.min.js:592
 * I tried adding this code to my child theme functions.php file to make sure the
   theme is calling updated jquery:
 * > /**
   >  * Use latest jQuery release */ if( !is_admin() ){ wp_deregister_script(‘
   > jquery’); wp_register_script(‘jquery’, (“[http://code.jquery.com/jquery-latest.min.js&#8221](http://code.jquery.com/jquery-latest.min.js&#8221);),
   > false, ”); wp_enqueue_script(‘jquery’); }
 * No help there. Can anyone else help?

Viewing 1 replies (of 1 total)

 *  Thread Starter [420DankStank](https://wordpress.org/support/users/420dankstank/)
 * (@420dankstank)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/js-error-4/#post-3655715)
 * Also tried adding Use Google Libraries plugin. Didn’t help.

Viewing 1 replies (of 1 total)

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

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [screen options](https://wordpress.org/support/topic-tag/screen-options/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [420DankStank](https://wordpress.org/support/users/420dankstank/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/js-error-4/#post-3655715)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
