wpforms_settings is not defined
-
Recapcha issue, does not adapt to zoomed screen.
That means
wpforms_settings is not definederror happens even on the raw, unmerged plugin file.This means WP-Optimize’s JS merging setting is breaking WPForms’ own validation script. WPForms normally outputs a small inline
<script>block that defineswpforms_settings(a config object) before its main JS file loads and reads it. When WP-Optimize merges/reorders scripts into thatwpo-minify-footer-*.jsbundle, that inline settings object either gets left out of the bundle or ends up loading in the wrong order — so by the time WPForms tries to readwpforms_settings, it doesn’t exist yet, and validation throws an error.It could easily be dragging down the mobile PageSpeed score (a JS error stopping script execution can cascade into worse Total Blocking Time / longer load).More importantly — if form validation is broken, that’s a genuine functional bug on your contact form
You must be logged in to reply to this topic.