Version 4.1.1 Delay JS Causes WP Forms console errors
-
First thanks for all the effort and time spent developing the plugin, we’re truly enjoying it!
One issue, we seem to see in the new release, with the “delay JS” feature is that turning on that feature causes the below errors in the console. When I turn off that setting, the console errors disappear. I’ve tried excluding files, but no matter what I exclude as long as the “delay JS” feature is on, I still see these errors.
To reproduce I believe you simply need to install a wp-forms on a site and turn on the “delay JS” feature in WP optimize. I have another site I’m working on with this setup (where “delay JS” is currently enabled), and the console errors are consistently causing the form to not be submitted on this new site. 🙁
These errors may be preventing form submission (it seems inconsistent) so I’ve turned off delay JS for now on mauievs.com until we can resolve this. Let me know if you have any questions, and thanks again!
jquery.min.js:2 jQuery.Deferred exception: wpforms_settings is not defined ReferenceError: wpforms_settings is not defined
at Object.loadValidation (https://mauievs.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js:5:916)
at HTMLDocument.ready (https://mauievs.com/wp-content/plugins/wpforms-lite/assets/js/frontend/wpforms.min.js:1:280)
at e (https://mauievs.com/wp-includes/js/jquery/jquery.min.js:2:27028)
at t (https://mauievs.com/wp-includes/js/jquery/jquery.min.js:2:27330) undefined
ce.Deferred.exceptionHook @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout
(anonymous) @ jquery.min.js:2
c @ jquery.min.js:2
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
Deferred @ jquery.min.js:2
then @ jquery.min.js:2
ce.fn.ready @ jquery.min.js:2
ce.fn.init @ jquery.min.js:2
ce @ jquery.min.js:2
init @ wpforms.min.js:1
(anonymous) @ wpforms.min.js:5Understand this warning
jquery.min.js:2 Uncaught ReferenceError: wpforms_settings is not defined
at Object.loadValidation (wpforms.min.js:5:916)
at HTMLDocument.ready (wpforms.min.js:1:280)
at e (jquery.min.js:2:27028)
at t (jquery.min.js:2:27330)The page I need help with: [log in to see the link]
The topic ‘Version 4.1.1 Delay JS Causes WP Forms console errors’ is closed to new replies.