What version of WordPress and Contact Form 7 do you use?
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
wp version 4.2.2 and plugin version 4.2
Which browser did you use? Do you see the error with other browsers?
I did used Chrome and Tested with FireFox (both last versions)
Hello Takayuki, firefox and safari too are full of JS error like: TypeError: _wpcf7.taggen is undefined
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?
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
Thank you. What other plugins and theme do you use?
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
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)
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
thieffolo, thanks. can I see the site?
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.
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…
Thanks for the info. I’m dealing with it.