Title: Shortcode Generator does not work
Last modified: July 19, 2017

---

# Shortcode Generator does not work

 *  Resolved [stormhill](https://wordpress.org/support/users/stormhill/)
 * (@stormhill)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/)
 * – clicked the puzzle piece
    – window opens – I configured the shortcode as desired–
   clicked the button – nothing happens.. window stays open.. no shortcode generated

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

 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9336506)
 * Hello,
 * It sounds like there is a JS error of some sort on that screen.
    Can you post
   whatever is displayed in the browser console please?
 * Tutorials:
    [https://developers.google.com/web/tools/chrome-devtools/console/#opening_the_console](https://developers.google.com/web/tools/chrome-devtools/console/#opening_the_console)
   [https://developer.mozilla.org/en-US/docs/Tools/Browser_Console#Opening_the_Browser_Console](https://developer.mozilla.org/en-US/docs/Tools/Browser_Console#Opening_the_Browser_Console)
 * Thank you!
 *  [MeritK](https://wordpress.org/support/users/meritk/)
 * (@meritk)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9365121)
 * I am having this issue also – Thanks for any help – Not positive that this is
   what you need, but my Chrome browser console displayed:
 * Uncaught TypeError: i is not a constructor
    at tinymce.WPWindowManager.tinymce.
   InlineWindowManager.b.createInstance (plugin.min.js?ver=4603-20170530:1) at Object.
   init (tiny_mce_popup.js?ver=4.2.3:56) at tiny_mce_popup.js?ver=4.2.3:483 shortcode-
   form.js?ver=4.2.3:28 Uncaught TypeError: Cannot read property ‘add’ of undefined
   at shortcode-form.js?ver=4.2.3:28 tc-scripts.min.js?ver=1.3.8:4 Uncaught TypeError:
   Cannot read property ‘top’ of undefined at b.(anonymous function)._get_full_height(
   [http://nchomeschoolinfo.com/wp-content/themes/customizr-pro/inc/assets/js/tc-scripts.min.js?ver=1.3.8:4:6541](http://nchomeschoolinfo.com/wp-content/themes/customizr-pro/inc/assets/js/tc-scripts.min.js?ver=1.3.8:4:6541))
   at b.(anonymous function)._apply_sticky_footer
    -  This reply was modified 8 years, 10 months ago by [MeritK](https://wordpress.org/support/users/meritk/).
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9367300)
 * Thank you very much for the info!
    This helped greatly.
 * Turns out WP 4.8 updated the version of tinymce which created a bug with the 
   shortcode form.
 * I have released a patch now in version 4.2.4 which should fix the issue.
 *  [MeritK](https://wordpress.org/support/users/meritk/)
 * (@meritk)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9368657)
 * Wonderful thank you – Simple Links is one of my essentials!
 *  [projector22](https://wordpress.org/support/users/projector22/)
 * (@projector22)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9593612)
 * The bug seems to have crept in again. Similar to original poster – I’ve clicked
   on the puzzle piece, set the parameters I want and click generate shortcode –
   no response. Based on your above instructions the following is the readout from
   the console:
 *     ```
       JQMIGRATE: Migrate is installed, version 1.4.1
       plugin.min.js?ver=4603-20170530:1 Uncaught TypeError: i is not a constructor
           at tinymce.WPWindowManager.tinymce.InlineWindowManager.b.createInstance (plugin.min.js?ver=4603-20170530:1)
           at Object.init (VM1680 tiny_mce_popup.js?ver=4.2.4:56)
           at VM1680 tiny_mce_popup.js?ver=4.2.4:483
       VM1679 seriesenginefrontend.js?ver=4.8.2:1093 Uncaught TypeError: jQuery(...).mediaelementplayer is not a function
           at HTMLDocument.<anonymous> (VM1679 seriesenginefrontend.js?ver=4.8.2:1093)
           at i (VM1677 jquery.js?ver=1.12.4:2)
           at Object.fireWith [as resolveWith] (VM1677 jquery.js?ver=1.12.4:2)
           at Function.ready (VM1677 jquery.js?ver=1.12.4:2)
           at HTMLDocument.K (VM1677 jquery.js?ver=1.12.4:2)
       ```
   
 * I hope that helps
    -  This reply was modified 8 years, 7 months ago by [projector22](https://wordpress.org/support/users/projector22/).
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9594675)
 * Hello Projector,
 * It appears there is an error with another plugin or theme. The file causing the
   error is ‘seriesenginefronend.js’ which I do not recognize.
    My guess is this
   other plugin/theme is breaking all similar forms but if you can track down the
   offending plugin/theme I will be happy to take a look at it to see if I can make
   the shortcode work in spite of the error (although I can’t promise anything because
   it appears to be a generic JS error which is not specific in any way to Simple
   Links)
 * Mat Lipe
 *  [projector22](https://wordpress.org/support/users/projector22/)
 * (@projector22)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9595118)
 * Hi Mat
 * thanks for your response, I know the plugin in question, its called Series Engine
   and I use it very regularly on my site. What information can I get you specifically.
   I very much appreciate you taking the time to make them play nicely together.
 * I’ll submit this to that plugin’s author also, if its a bug in his code, he will
   want to know.
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9596310)
 * Hi Projector,
 * I looks like this plugin may be a premium plugin, so I do not have access to 
   it to debug. When you talk to that plugins author you may mention that they may
   send me a copy so I am able to see the code.
 * Cheers.
 *  [projector22](https://wordpress.org/support/users/projector22/)
 * (@projector22)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9655870)
 * Hi Mat
 * I’ve been chatting with the plugin’s author and have gotten his permission to
   send the code to you. What would be the best way to do this?
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9656444)
 * Hello Projector,
    If you want to send me your contact info using the form on 
   my website, we can exchange the files through email.
 * [https://matlipe.com/contact/](https://matlipe.com/contact/)
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9659337)
 * I was able to track down a conflict with the template_redirect action. While 
   I don’t recommend using it quite in the way the Series Engine plugin is using
   it, it was easy enough for me to just patch the Simple Links plugin to execute
   before it and therefore avoid the conflict. Version 4.2.7 is now available which
   no longer conflicts
 * I also uncovered a conflict with the WP media loaders. The Series Engine plugin
   enqueues the media scripts on every admin page which conflicts with the WP Editor
   and can open up all sorts of possible issues. I have created a patch below. Please
   pass it along to the plugin author.
 *     ```
       diff --git a/includes/admin/settings.php b/includes/admin/settings.php
       index 2f93a67..3f10cb7 100644
       --- a/includes/admin/settings.php
       +++ b/includes/admin/settings.php
       @@ -1,5 +1,7 @@
        <?php /* ----- Series Engine - Settings page ----- */
        global $wp_version;
       +wp_enqueue_media();
       +
        if ( $wp_version != null ) { // Verify that user is allowed to access this page
        if ( current_user_can( 'edit_posts' ) ) { 
   
       diff --git a/seriesengine_plugin.php b/seriesengine_plugin.php
       index 747b7ed..6ff0937 100644
       --- a/seriesengine_plugin.php
       +++ b/seriesengine_plugin.php
       @@ -322,7 +322,6 @@ function enm_seriesengine_options_page() {
        add_action('admin_enqueue_scripts', 'enm_seriesengine_admin_enqueue');
   
        function enm_seriesengine_admin_enqueue() {
       -	wp_enqueue_media();
        	// Add stylesheet
        	global $wp_version;
        	if( version_compare( $wp_version, '3.8', '>=') ) {
       ```
   
 *  [spiros](https://wordpress.org/support/users/spiros/)
 * (@spiros)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9768229)
 * Same issue here with 4.9.1
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9768623)
 * Hello Spiros,
 * Please provide the information requested above.
 * Thank you

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

The topic ‘Shortcode Generator does not work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-links_3d6e81.svg)
 * [Simple Links](https://wordpress.org/plugins/simple-links/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-links/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-links/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/shortcode-generator-does-not-work/#post-9768623)
 * Status: resolved