Title: Tag generator js errors
Last modified: August 30, 2016

---

# Tag generator js errors

 *  [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/)
 * Hello,
    I have this js error on create or edit a form.
 *     ```
       Uncaught TypeError: Cannot read property 'update' of undefined
       tag-generator.js:21 Uncaught TypeError: Cannot read property 'normalize' of undefined
       tag-generator.js:28 Uncaught TypeError: Cannot read property 'insert' of undefined
       ```
   
 * In this way i can’t create or edit a form…any idea?
    Thank you!
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/tag-generator-js-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tag-generator-js-errors/page/2/?output_format=md)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206809)
 * What version of WordPress and Contact Form 7 do you use?
 *  [António Pinto (Vanguardly)](https://wordpress.org/support/users/apintocr/)
 * (@apintocr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206855)
 * I also have exactly the same issue.
    Using latest CF7 4.2 and WP4.2.2
 * Already switched to default theme and disabled all plugins.
 * The issue appeard after the update to CF7 4.2
 *  Thread Starter [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206875)
 * wp version 4.2.2 and plugin version 4.2
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206879)
 * Which browser did you use? Do you see the error with other browsers?
 *  [António Pinto (Vanguardly)](https://wordpress.org/support/users/apintocr/)
 * (@apintocr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206892)
 * I did used Chrome and Tested with FireFox (both last versions)
 *  Thread Starter [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206948)
 * Hello Takayuki, firefox and safari too are full of JS error like: TypeError: 
   _wpcf7.taggen is undefined
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206950)
 * thieffolo, can you tell me precisely when do you see the error? Is it when you
   click the contact form name in _Contact > Contact Forms_ menu? Or, when you click
   on a tag-generator button?
 * Also, how is the error displayed? In a JavaScript alert popup?
 *  Thread Starter [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206951)
 * This first error is showed on edit the post (form)
    `tag-generator.js?ver=4.2:
   11 Uncaught TypeError: Cannot read property 'update' of undefined`
 * The modal window opens correctly but on pressing on Insert Tag button:
    `tag-
   generator.js?ver=4.2:28 Uncaught TypeError: Cannot read property 'insert' of 
   undefined`
 * All errors are printed in the console.
 * Hope it helps…thank you
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206952)
 * Thank you. What other plugins and theme do you use?
 *  Thread Starter [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206955)
 * It’s a custom theme (a very simple theme).
    Installed plugins are WooCommerce
   and Query Monitor for debugging but the error is still here even with all plugins
   deactivated.
 * thank you
 *  [ryansigg](https://wordpress.org/support/users/ryansigg/)
 * (@ryansigg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206956)
 * I am having the same error “_wpcf7.taggen is undefined” when clicking the “Insert
   Tag” button in the generator, or ticking any of the checkboxes.
 * Plugin 4.2
    WP 4.1 [List of plugins (pastebin)](http://pastebin.com/RE5w5mvs)
 * I can create a form by adding tags manually and save with no issue.
    Sorry, if
   you would like me to start another thread I will.
 * Chrome:
    Uncaught TypeError: Cannot read property ‘insert’ of undefined(anonymous
   function) @ tag-generator.js?ver=4.2:28m.event.dispatch @ jquery.min.js:3r.handle
   @ jquery.min.js:3
 * Firebug:
    TypeError: _wpcf7.taggen is undefined _wpcf7.taggen.insert(tag); /plugins/
   contact-form-7/admin/js/tag-generator.js?ver=4.2 Line 28, Col 2
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206957)
 * thieffolo, thanks. can I see the site?
 *  [pawdat](https://wordpress.org/support/users/pawdat/)
 * (@pawdat)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206965)
 * The problem occurs when you have ‘SCRIPT_DEBUG’ constant defined in wp-config.
   php. I hope it will help you to track down those bugs.
 *  Thread Starter [thieffolo](https://wordpress.org/support/users/thieffolo/)
 * (@thieffolo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206977)
 * Yes! Thank you pawdat your answer is right…I’m on a development environment so
   all debugging constant are true and SCRIPT_DEBUG was one of them…
 * thanks to all…
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/#post-6206978)
 * Thanks for the info. I’m dealing with it.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/tag-generator-js-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tag-generator-js-errors/page/2/?output_format=md)

The topic ‘Tag generator js errors’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 19 replies
 * 8 participants
 * Last reply from: [ventoh](https://wordpress.org/support/users/ventoh/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/tag-generator-js-errors/page/2/#post-6207008)
 * Status: not resolved