Support

Home Forums Event Espresso Premium An error has occurred: First Name is a required value. (5)

An error has occurred: First Name is a required value. (5)

Posted: January 10, 2016 at 10:15 pm


Brett Hendrix

January 10, 2016 at 10:15 pm

I have read the post on this topic.

My website is https://changinglanesministries.com/join

I have WP Super Cache installed, but have i have set up no-cache rules for the following extensions:
/registration-checkout/
/transactions/
/thank-you-2/
/registration-cancelled/
/events/
/venues/
/join/

I am novice and any help is appreciated. Thank you!


Tony

  • Support Staff

January 11, 2016 at 5:34 am

Hi Brett,

Looking within Chrome Dev Tools and checking console you’ll find multiple JavaScript errors on the page – http://take.ms/IXmLj

The first issue that jumps out is your currently loading multiple versions jQuery – http://take.ms/353Rg

The jQuery Updater plugin is loading a version and then your theme is loading its own version. jQuery updater first removes the core version of jQuery and adds its own, which likely means your theme is not following best practices when loading its own version of jQuery (although the theme really should not do that anyway)

Start by temporarily disabling jQuery updater, do registrations then work?


Brett Hendrix

January 11, 2016 at 6:20 am

Tony,
I disabled the jQuery Updater. Unfortunately, I am still getting the same error message.


Tony

  • Support Staff

January 11, 2016 at 11:10 am

Hi Brett,

Unfortunately although jQuery Updater has now been disabled WordPress is loading the version that is shipped with WordPress, this is expected behavior and would normally be fine, however your theme is still adding its own version of jQuery and that is what I suspect is causing the problem.

First backup your site, at least the database if nothing else. There’s multiple plugins available to do this with, here is one I use:

https://en-gb.wordpress.org/plugins/backupwordpress/

That’s just a good habit to get into (regular backups) before making any changes.

Once you’ve done that try using Live Preview on one of the default themes, such as twentyfourteen.

Dashboard -> Appearance -> Themes -> Theme -> Live Preview – http://take.ms/VZsVe

Yours will look a little different from that but your basically trying out your site in a different theme.

Do the registrations work in that preview?


Brett Hendrix

January 11, 2016 at 2:39 pm

I tried the preview and I am unable to get the correct page to load to test the registration.


Josh

  • Support Staff

January 11, 2016 at 4:11 pm

Hi Brett,

Can you contact the theme author to see if they have a fix for the “Cannot read property ‘thumbs’ of undefined” error that’s coming from /wp-content/themes/charityhub-v1-08/javascript/gdlr-script.js?ver=1.0 line 175?

That’s a blocker.


Tony

  • Support Staff

January 11, 2016 at 4:25 pm

You can either create a new test page, add the [ESPRESSO_EVENTS] shortcode to that page, add it to your menu (Appearance -> Menus) and then preview and click to view that page and run a registration.

Or temporarily swap over to one of the default themes when the site is quiet to test this.

Most themes should not have a problem when doing this, some may, it really depends on the theme (the settings may reset, they shouldn’t but it can happen)


Brett Hendrix

January 11, 2016 at 5:53 pm

Josh,
I have contacted the theme’s author about the error. Still waiting to hear back.

Tony,
I was finally about to run the preview and things worked perfectly in the preview of another theme.


Tony

  • Support Staff

January 12, 2016 at 4:03 am

In that case it will be the fatal error being thrown by the themes JavaScript causing it.

Have you heard back from them?


Brett Hendrix

January 13, 2016 at 7:09 am

Thank you for all your help! The theme author made a change and things are working now.


Josh

  • Support Staff

January 13, 2016 at 7:16 am

Awesome possum!

The support post ‘An error has occurred: First Name is a required value. (5)’ 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.

Event Espresso