Uncaught TypeError: Cannot read property ‘top’ of undefined at (index)
-
Plugin: 1.0
Gravity Forms: 2.4.12 (or latest 2.5.6)
WordPress: 5.7.2Getting a “Uncaught TypeError: Cannot read property ‘top’ of undefined at (index):142” error when submitting a form. Tested a form on a brand new page on a clean Twenty Twenty-One theme with this plugin and Gravity Forms plugin.
Error points back to Gravity Forms JS, conflict with the following function:
setTimeout(function() { jQuery('#gform_wrapper_1832283327').replaceWith(confirmation_content); jQuery(document).scrollTop(jQuery('#gf_1832283327').offset().top - mt); jQuery(document).trigger('gform_confirmation_loaded', [1832283327]); window['gf_submitting_1832283327'] = false; }, 50);
- The topic ‘Uncaught TypeError: Cannot read property ‘top’ of undefined at (index)’ is closed to new replies.