Title: Conflict with Shortcode UI Plugin
Last modified: January 18, 2017

---

# Conflict with Shortcode UI Plugin

 *  Resolved [kshaner](https://wordpress.org/support/users/kshaner/)
 * (@kshaner)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/)
 * Hi,
 * There is a javascript error that prevents opening the shortcode ui plugin ([https://wordpress.org/plugins/shortcode-ui/](https://wordpress.org/plugins/shortcode-ui/))
   window from opening or editing a shortcode. I’ve verified this with an empty 
   version of wordpress and a basic shortcode ui example.
 * The error is ‘TypeError: n is undefined’.
 * It first appeared in version 2.4.0 as 2.3.6 does throw the error. It appears 
   in the console after clicking the ‘Add Post Element’ button and when clicking“
   Add Media -> Insert Post Element.
 * Kurtis

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

 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8670514)
 * Hi Kurtis,
 * Thank you for informing me! It will be fixed in the next version 2.4.2
 * Best,
    -Nadia
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8675870)
 * Hi Kurtis,
 * Fixed in v2.4.2
 * Best,
    -Nadia
 *  Thread Starter [kshaner](https://wordpress.org/support/users/kshaner/)
 * (@kshaner)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8679482)
 * Hi,
 * Unfortunately the bug persists. Here’s a screenshot of the call stack for reference:
   [https://dl.dropboxusercontent.com/u/8759774/Screen%20Shot%202017-01-20%20at%2012.20.08.png](https://dl.dropboxusercontent.com/u/8759774/Screen%20Shot%202017-01-20%20at%2012.20.08.png).
 * It occurs when clicking the Add Post Element button or when attempting to edit
   a current shortcode. If I edit the eml-media-views file and console the arguments,
   it appears that console.fixLayout is undefined at line 1079 which then is passed
   as the function argument to underscore bind.
 * We also have ACF installed. If I deactivate ACF, the error is not thrown.
 * Kurtis
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8680180)
 * Hi Kurtis,
 * Please replace line 1078 with
 *     ```
       if ( typeof acf !== 'undefined' && $('.acf-expand-details').length ) {
       ```
   
 * We will add this to the next release. Thank you for your help!
 * Best,
    -Nadia
    -  This reply was modified 9 years, 5 months ago by [webbistro](https://wordpress.org/support/users/webbistro/).
 *  Thread Starter [kshaner](https://wordpress.org/support/users/kshaner/)
 * (@kshaner)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8685607)
 * Thanks Nadia, this seems to do the trick. Ship it! 🙂

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

The topic ‘Conflict with Shortcode UI Plugin’ is closed to new replies.

 * ![](https://ps.w.org/enhanced-media-library/assets/icon-256x256.png?rev=980107)
 * [Enhanced Media Library](https://wordpress.org/plugins/enhanced-media-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enhanced-media-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enhanced-media-library/)
 * [Active Topics](https://wordpress.org/support/plugin/enhanced-media-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enhanced-media-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enhanced-media-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [kshaner](https://wordpress.org/support/users/kshaner/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/conflict-with-shortcode-ui-plugin/#post-8685607)
 * Status: resolved