Support

Home Forums Community Forum An error has occurred: First Name is a required value. 6

An error has occurred: First Name is a required value. 6

Posted: February 4, 2016 at 12:41 pm

Viewing 5 reply threads


Amyrar

February 4, 2016 at 12:41 pm

I have reviewed the other answers on this same topic and tried to find the bug but still am getting this error every time I try to register for an event.

WordPress Version:
4.4.2
Event Espresso Version:
4.8.32.
WordPress Address (URL):
http://www.precmc2016.de/registration/
Site address (URL):
http://www.precmc2016.de/

Some help would be wonderful. ^^
Thanks.


Tony

  • Support Staff

February 4, 2016 at 1:24 pm

Hi Amyrar,

The theme JS is throwing an Undefined TypeError which is very likely causing this – http://take.ms/NissC

Which theme are you using?


Amyrar

February 4, 2016 at 1:55 pm

The Theme is called simple-east.
Jes, i just read a lot of old responds you gave on this topic and found out how to view errors in the chrome console.. but i don’t understand the error.


Josh

  • Support Staff

February 4, 2016 at 3:40 pm

You could try fixing the JavaScript error by opening up the assets/menu/script.js file and on line 129 where it has:

defaultPosition = linePosition = activeElement.position();

you change it to this:

defaultPosition = linePosition = activeElement.position().left;

If the above does not work, may I ask if any of the theme’s template files have been modified in any way?


Amyrar

February 4, 2016 at 4:35 pm

unfortunately, I already tried out to fix it that way the other way around a few hours ago and now i changed it back as you said.. but it doesn’t work.

yes, the theme has been modified.. I changed a lot in the:
1. style.css,
2. few things in the: assets/bootstrap/css/bootstrap.min.css
3. included pictures into the images file. (linked to the style.css)
4. also I created custom template pages for the custom headers I included for every single page by linking them with get_header().
Example for the tour.php page: `<?php
/**
* Template Name: Tour
**/
global $navthemes_options;
get_header(‘tour’); ?>`
5.the page.php just stayed the main home site with get_header()
6. the main header image is linked as a background-image to the .site-title class in the header.php file.
7. In order to have custom headers I just created custom header files, for example header-tour.php in which I changed the .site-title class to for this ex. .site-tour to display the preferred image.
8. And I deleted some code in the above mentioned files and the footer.php to for example erase the themes refrence link in the footer and the whole second navigation that was at the top. And the breadcrumbs. But all in all I just deleted parameters to initiate the output of something on the page, not the existance of the function itself. But I don’t remember everything.

That’s it. I know it’s alot. Do you think thats the cause? I need to solve this problem somehow, not rewriting everything onto another template or something.


Amyrar

February 4, 2016 at 6:40 pm

I just got away from all of it.. sleeping a while.. which I obviously needed.. and now I solved the problem. I just erased the whole section where the:

defaultPosition = linePosition = activeElement.position().left;

..was inside, with the heading description saying “top menu”, which was something I erased from the theme and so it obviously couldn’t be found by the js file.
After refreshing and trying to acsess the form again.. finally there was no error message anymore. I’m so happy right now. Everything works finde now!

Viewing 5 reply threads

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