Posted: January 3, 2017 at 3:10 pm
|
I’m getting the “first name is required value” error when i try to register on my site. This just started happening and I can’t figure out why. I know that there are other topics like this, but I can’t figure out what the problem on my site is. Here’s a link to one of my events: http://umcpi.org/events/de-escalation-strategies-for-persons-with-mental-illness-or-behavioral-disorders-in-crisis-duplicate/ |
Hi there, The breakage is being caused by some invalid code in one of the minified JavaScript files loading on that page: It will be possible to pinpoint the exact file, or wherever else that code is coming from, if you can disable the WP hummingbird caching. |
|
|
I’ve turned off Hummingbird’s minification, it doesn’t actually cache pages itself. |
And with that, your form is working now. |
|
|
Yes, but I would like to be able to Minify my code for page speed optimization. Didn’t you say if I deactivated Hummingbird we would be able to figure out which script was causing the problem? |
Yes I did and it turned out one of the problems is the script that was output by the Hummingbird plugin’s minify feature. You can try another plugin like wp-minify or contact Hummingbird support for support. With Hummingbird deactivated, I can see some additional issues, which don’t seem to cause any problems, but they could be addressed. Issue 2: Two copies of the jQuery library are loaded. There should only be one copy. Not only will having one help with performance, it will also avoid script conflicts. So there’s this one: Recommendation: Use the bundled WP version of jQuery only, no need to load in the other one from Google’s CDN. Issue 3: This inline script that’s place in the head of the document: The script was actually near the JS error earlier when the Hummingbird plugin was activated, and it may help to move the script to the footer. |
|
The support post ‘Error: first name is required value’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.