Title: [Plugin: Custom Post Type UI] Throws javascript error in admin area
Last modified: August 20, 2016

---

# [Plugin: Custom Post Type UI] Throws javascript error in admin area

 *  Resolved [Vayu Robins](https://wordpress.org/support/users/vayu/)
 * (@vayu)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/)
 * Hi.
    In the admin area the plugin creates a javascript error, something that 
   has to do with the help function.
 * The error:
    a(“.contextual-help-tabs”).delegate is not a function
 * Vayu
 * [http://wordpress.org/extend/plugins/custom-post-type-ui/](http://wordpress.org/extend/plugins/custom-post-type-ui/)

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

 *  [geemeetheway](https://wordpress.org/support/users/geemeetheway/)
 * (@geemeetheway)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507031)
 * Got the same error. Any cue ?
 *  [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507033)
 * You need at least jQuery 1.4.2 for “delegate”. Maybe you need a jQuery update.
 *  [geemeetheway](https://wordpress.org/support/users/geemeetheway/)
 * (@geemeetheway)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507034)
 * Ov3rfly, you were right!
 * I’ve take a look at custom-post-type-ui.php searching for jquery.
 * I’ve commented lines 53 and 54 :
 *     ```
       <?php /* <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js">
       </script>*/ ?>
       ```
   
 * Now the error is gone. Thank you for the hint.
 *  [sam_a](https://wordpress.org/support/users/sam_a/)
 * (@sam_a)
 * [14 years ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507093)
 * Yes, I see this too in WordPress 3.3.2 + Custom Post Type UI 0.7.1 on `admin.
   php?page=cpt_main_menu`:
 * > Uncaught TypeError: Object #<Object> has no method ‘delegate’ common.dev.js:
   > 140
   >  (anonymous function) common.dev.js:140 (anonymous function) common.dev.
   > js:389 Uncaught TypeError: Object #<Object> has no method ‘delegate’ wplink.
   > dev.js:427 River wplink.dev.js:427 wpLink.init wplink.dev.js:26 n.extend.ready.
   > n.readyList jquery.min.js:19 n.extend.each jquery.min.js:12 n.extend.ready 
   > jquery.min.js:19 n.each.n.fn.(anonymous function) jquery.min.js:19
 *  [sam_a](https://wordpress.org/support/users/sam_a/)
 * (@sam_a)
 * [14 years ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507094)
 * Another fix 😉 [https://gist.github.com/2484129](https://gist.github.com/2484129)
 *  Plugin Author [Brad Williams](https://wordpress.org/support/users/williamsba1/)
 * (@williamsba1)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507117)
 * Fixed in the next version. Coming soon!
 *  Plugin Author [Brad Williams](https://wordpress.org/support/users/williamsba1/)
 * (@williamsba1)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507124)
 * CPTUI v0.7.2 fixes this issue

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

The topic ‘[Plugin: Custom Post Type UI] Throws javascript error in admin area’ 
is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [Brad Williams](https://wordpress.org/support/users/williamsba1/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-throws-javascript-error-in-admin-area/#post-2507124)
 * Status: resolved