Support

Home Forums Event Espresso Premium First Name Required Error (2)

First Name Required Error (2)

Posted: July 20, 2016 at 2:48 pm


Fred Hollingshead

July 20, 2016 at 2:48 pm

I have found this topic in numerous locations already in this forum, and I understand the cause – after updating WP to 4.5.3/Java code issues – but I am having a heck of a time finding what is causing our particular problem. I have turned off numerous plugins that I thought could be the issue after looking at the page source, but am stuck. Here is the site’s registration page where we are getting the error: https://katm.org/registration-checkout/#checkout

I will re-activate all of the plugins. Perhaps you can find the error and get us back on track? Thanks for your help.

  • This topic was modified 7 years, 8 months ago by  Fred Hollingshead.
  • This topic was modified 4 years, 1 month ago by  Garth.


Josh

  • Support Staff

July 20, 2016 at 3:05 pm

Hi Fred,

The error is caused by some old buggy JavaScript in your old copy of the Avada theme (v.3.7.2). You can get back on track by either updating to the current version of the Avada theme or by patching the old version’s main.js file. Specifically wherever it has this:

a:not([href=#])

When written correctly should be this instead:

a:not([href="#"])


Fred Hollingshead

July 20, 2016 at 3:21 pm

Thank you for the fast response. I string searched the main.js file in the Avada theme folder and found one place with the buggy code. I added quotes around the # as instructed and, after clearing my browser’s cached, still had the error. Could you recommend another step for me? Thank you.


Josh

  • Support Staff

July 20, 2016 at 3:41 pm

If you only found one place, you now have at least 4 left to go. Your exact string you’re searching for is:

href=#

There may be other places within the Avada theme that also need fixing. So if you’re not going to update to the current version of Avada, you can use a tool like Firebug to further debug your old theme.

The support post ‘First Name Required Error (2)’ 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