Indeed the error is there. WPForms always keeps on creating this sort of bug.
https://wordpress.org/support/topic/javascript-warning-with-amp/
Hey @cadencehart and @kleverkdesign,
Sorry for the trouble with that!
The issue has been reported to our development team, and we’re looking into it.
Thank you for bringing this to our attention!
@ethanchoi Thank you for the quick support. Appreciate the same.
Hi @ethanchoi! Any update? Has this been fixed? Thanks.
Hey @cadencehart,
Thanks for checking in!
Our development team has made progress for fixing this issue, and the fix will likely be released in the next plugin update.
Thank you for your patience 🙂
The plugin’s own interface, when logged into WP Admin declares the warning:
WARNING: This plugin has not been tested with your current version of WordPress.
I have the latest WP, and all my other plugins are up to date.
When I reported this to WPForms, last year, they said they are investigating, but then locked such threads without resolving the bug.
We have to revert to WPForms 1.6.4 or switch to a more reliable Forms plugin.
It should be easy to fix, since WP shows the code-line error, but the plugin owners can’t be bothered fixing it.
Hi @ethanchoi! Any updates?
Hey @cadencehart,
Thank you for checking in!
We’ve recently released a plugin update in WPForms Lite version 1.6.5 that includes a fix for the AMP issue. When you get the chance, could you update WPForms Lite to see if that resolves the issue?
Please let me know how it goes. Thanks!
Great! Thank you. The fix has worked. 🙂 @ethanchoi
Hey @cadencehart,
I’m glad to hear that, and thanks for letting us know! Please feel welcome to reach out if ever you have any other questions.
Have a good one 🙂