Title: TypeError: $(&#8230;).dialog is not a function
Last modified: August 24, 2016

---

# TypeError: $(…).dialog is not a function

 *  Resolved [Faar](https://wordpress.org/support/users/faar/)
 * (@faar)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/)
 * _TypeError: $(…).dialog is not a function_
 * I get this message and in the settings-area of this plugin nothing works with
   jQuery, no help functions and no jquery-ui.
 * console.log($); is _undefined_
    console.log($ === jQuery); is _false_ console.
   log(jQuery); works, shows _function(a,b)_
 * [https://wordpress.org/plugins/affiliates-manager/](https://wordpress.org/plugins/affiliates-manager/)

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

 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136479)
 * Hi, This might be a conflict with another plugin or the theme you are using. 
   Please deactivate one plugin at a time to see which one is causing this issue.
   You can also do the theme test by switching to a default WordPress theme (twenty
   15, 14 or 13).
 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136480)
 * Hi, There might be a conflict with another plugin or the theme you are using.
   Please deactivate one plugin at a time to see which one is causing this issue.
   You can also do a theme test by switching to a default WordPress theme (twenty
   15, 14 or 13).
 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136481)
 * Hi, There might be a conflict with another plugin or the theme you are using.
   Please deactivate one plugin at a time to see which one is causing this issue.
   You can also do a theme test by switching to a default WordPress theme (twenty
   15, 14 or 13).
 *  Thread Starter [Faar](https://wordpress.org/support/users/faar/)
 * (@faar)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136549)
 * It does not work, even when I turn off all other plugins (except for the shop)
   and turn to the theme TwentyFifteen.
 *  Plugin Author [affmngr](https://wordpress.org/support/users/affmngr/)
 * (@affmngr)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136562)
 * Are you using the latest version of WordPress? Which shop plugin are you using?
   Can you temporarily disable your shop plugin to test it?
 *  Thread Starter [Faar](https://wordpress.org/support/users/faar/)
 * (@faar)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136576)
 * I am using the latest WordPress version and just now installed your latest plugin
   version (2.0.4) and did what you told me, to deactivate the even the shop plugin.
   So the only one plugin was yours.
 * But it didn’t work with jQuery.
 *  Thread Starter [Faar](https://wordpress.org/support/users/faar/)
 * (@faar)
 * [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136577)
 * Ok, I solved it by myself.
    Something with register and enqueue jQuery-ui-Script
   should be wrong in your Plugin, because it doesn’t work in all testet situations.
 * So I just put this in my theme-functions:
 *     ```
       wp_register_script('my_script', get_template_directory_uri().'/js/jquery-ui.min.js', array('jquery'), '1.0', false);
       wp_enqueue_script('my_script');
       ```
   
 * And it works fine.
 * I will not put this somewhere into your plugin because upgradeability.
    You should
   do or repair this 🙂

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

The topic ‘TypeError: $(…).dialog is not a function’ is closed to new replies.

 * ![](https://ps.w.org/affiliates-manager/assets/icon-128x128.png?rev=981249)
 * [Affiliates Manager](https://wordpress.org/plugins/affiliates-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliates-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliates-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliates-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliates-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliates-manager/reviews/)

## Tags

 * [jquery-dialog](https://wordpress.org/support/topic-tag/jquery-dialog/)

 * 7 replies
 * 2 participants
 * Last reply from: [Faar](https://wordpress.org/support/users/faar/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/typeerror-dialog-is-not-a-function/#post-6136577)
 * Status: resolved