Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: When adding two forms to one page with the Advanced File Uploader field (2.0) #3299

vaka2vaka opened this issue Jul 29, 2019 · 2 comments


Copy link

@vaka2vaka vaka2vaka commented Jul 29, 2019

What Version Of Caldera Forms, WordPress and PHP Are You Using?

5.2.2 WP
Memory limit: 512M

Caldera 1 8 6
PHP 7 2

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?


What Is The Unexpected Behaviour?

When adding two forms to one page with one of them containing the Advanced File Uploader (2.0) field, an error occurs

Uncaught TypeError: Cannot read property 'fields' of undefined
     at index.min.js? h = 1053749907 & ver = 1.8.6: 30
     at NodeList.forEach ()
     at HTMLDocument. (index.min.js? h = 1053749907 & ver = 1.8.6: 30)
     at HTMLDocument.dispatch (jquery.js? ver = 1.12.4-wp: 3)
     at HTMLDocument.r.handle (jquery.js? ver = 1.12.4-wp: 3)
     at Object.trigger (jquery.js? ver = 1.12.4-wp: 3)
     at Object.a.event.trigger (jquery-migrate.min.js? ver = 1.4.1: 2)
     at HTMLDocument. (jquery.js? ver = 1.12.4-wp: 3)
     at Function.each (jquery.js? ver = 1.12.4-wp: 2)
     at a.fn.init.each (jquery.js? ver = 1.12.4-wp: 2)

In this case, the change in the second form ceases to be preserved.
This is very problematic if you need to add an order form and a callback form on a single page.
Thanks for attention



This comment has been minimized.

Copy link

@New0 New0 commented Jul 29, 2019

Hello @vaka2vaka , thank you for reporting and detailing the issue, we need to add a variable verification at that stage.

@New0 New0 self-assigned this Jul 29, 2019
@New0 New0 added this to the 1.8.7 milestone Jul 29, 2019
@New0 New0 added the Has PR label Jul 29, 2019

This comment has been minimized.

Copy link

@New0 New0 commented Aug 26, 2019

Cloased via b972387

@New0 New0 closed this Aug 26, 2019
@New0 New0 mentioned this issue Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.