当我尝试使用联系表格 7 在 Wordpress 中发送我的标准联系表格时,它会卡住发送。表单有效,我确实将邮件发送到我的收件箱,但在主页上视觉上,表单卡在“发送模式”中。
Chrome 控制台这样说
Uncaught TypeError: Cannot read property 'dispatchEvent' of undefined
at Object.wpcf7.triggerEvent (scripts.js?ver=4.9.1:361)
at ajaxSuccess (scripts.js?ver=4.9.1:279)
at Object.<anonymous> (scripts.js?ver=4.9.1:344)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
Run Code Online (Sandbox Code Playgroud)
和 firefox 控制台说:
TypeError: $target.get(...) is undefined[Läs mer] scripts.js:361:3
wpcf7.triggerEvent http://***.se/wp-content/plugins/contact-form-7/includes/js/scripts.js:361:3
wpcf7.submit/ajaxSuccess http://***.se/wp-content/plugins/contact-form-7/includes/js/scripts.js:279:6
wpcf7.submit/< http://***.se/wp-content/plugins/contact-form-7/includes/js/scripts.js:344:4
n.Callbacks/i http://***.se/wp-includes/js/jquery/jquery.js:2:27444
n.Callbacks/j.fireWith http://***.se/wp-includes/js/jquery/jquery.js:2:28213
y http://***.se/wp-includes/js/jquery/jquery.js:4:22719.send/c
Run Code Online (Sandbox Code Playgroud)
你对我的问题有什么好的解决方案吗?