Support

Home Forums Event Espresso Premium Registration Errors – Customers Can't Get Signed Up

Registration Errors – Customers Can't Get Signed Up

Posted: February 11, 2015 at 8:30 pm

Viewing 6 reply threads


John Fineberg

February 11, 2015 at 8:30 pm

I got an email from someone trying to sign up for a class. He said he couldn’t register because he doesn’t have a cell phone, and that’s one of the required questions I have set up. But I have it set so that, if a required field is left blank, a message should appear. In this field, it says “type N/A if no cell phone.”

So I decided to try it myself, using my own information. I intentionally left that field empty. But, instead of getting the error message, “type N/A if no cell phone,” I got an error message that didn’t give me a second chance. I emptied the cache in my browser and tried again. I got a similar, but different, error message.

I’ve managed to capture a couple of error messages:

An error has occurred:
First Name is a required value.
EE_SPCO_Reg_Step_Attendee_Information – _verify_critical_attendee_details_are_set_and_validate_email – 851

An error has occurred:
Unable to save registration form data for the form input: “12” with the submitted value: “”
EE_SPCO_Reg_Step_Attendee_Information – _process_registrations – 706

Even when I’ve completed the registration in-full, I get error messages.

I hope these error messages help in troubleshooting.

I’ve been wondering why my business has been dead lately. It’s gone on too long for it to simply be caused by the holiday lull or bad weather. And now I think I know why. Finally!

Please respond quickly, as no one can sign up as it currently is.


Garth

  • Support Staff

February 11, 2015 at 10:26 pm

Hi John,

How are you today? Sorry for the error messages. I am not able to reproduce this myself, so I will have to engage the developers and ask for their assistance.

It would help if you can provide us a little more information:

– What plugins do you have activated (both Event Espresso or others)?
– Is the site?: http://www.cpr-twincities.com/events/bls-cpraed-for-pro-rescuers-health-care-providers-3
– Can you describe (or give us screenshots) of each of the questions you are using on the registration form? I just want to see or know how you’ve edited those questions.
– What payment method (gateway) are you using? PayPal, Authorize.net, etc.?
– When have you performed the upgrades? I see you’re using the latest right now, but was this issue reported before or after you upgraded to Event Espresso 4.6.5?
– what version did you have installed before you upgraded to 4.6.5, if you recall?

Thanks, we’ll work as quickly as we can to help figure this out.


Tony

  • Support Staff

February 12, 2015 at 7:10 am

It looks like you have set all of the sites js scripts to load in the footer. Have you used a plugin or theme option to do this?

While in theory setting your JS files to load in the footer is a good idea, in practice it is not. It causes issues with plugins and other scripts that are dependant on other scripts to load, such as scripts reliant on jQuery, need jQuery loaded before they are.

If you open the page Garth linked to in Chrome and then use Chrome Dev Tools (F12 on windows or ‘Settings -> More Tools -> Developer Tools’) you’ll see something like this – http://take.ms/FUMe5

Which is all caused because jQuery is being loaded at the bottom of the page.

I would highly recommend setting up a developer site (cloning your site with something like Duplicator) and making changes on that site rather than live, especially when caching, moving file locations or when files will be loaded.

Then when making changes fully test the site to ensure nothing has broken.

If you remove/disable whichever option it is that is forcing the files to load in the footer Event Espresso should work as expected.


John Fineberg

February 12, 2015 at 7:44 am

Fixed!!!

This is crazy, but just after writing this forum last night, when I crawled into bed after a full day of setting up WordPress SEO by Yoast, it occurred to me that the problem with registrations might have something to do with a new plugin I installed a few days ago called “JavaScript to Footer.” I don’t know why it even occurred to me, but it did. And the crazy thing is that you just confirmed that I’m correct. Wow, what a relief!

Okay, I’ve deactivated it. Before throwing it out altogether, I’m wondering if it can be edited to not touch dynamic pages like those of EE. Here’s the code:

<?php
/*
Plugin Name: JavaScript to Footer
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/footer-javascript
Description: This plugin automatically moves JavaScript code to page footer, speeding up page loading time.
Version: 0.4.1
Author: Vladimir Prelovac
Author URI: http://www.prelovac.com/vladimir
*/

// super easy way to move javascript to footer
remove_action(‘wp_head’, ‘wp_print_scripts’);
remove_action(‘wp_head’, ‘wp_print_head_scripts’, 9);
remove_action(‘wp_head’, ‘wp_enqueue_scripts’, 1);
add_action(‘wp_footer’, ‘wp_print_scripts’, 5);
add_action(‘wp_footer’, ‘wp_enqueue_scripts’, 5);
add_action(‘wp_footer’, ‘wp_print_head_scripts’, 5);

?>

If not, I’ll just delete the plugin entirely. But if it can, and it helps with loading speeds elsewhere on the site, that would be great.

I woke up thinking that today was going to be horrible. Instead, today’s going to be a much more pleasant day than I expected. Thank you again, Garth, for your rapid response, and Tony, for finding the problem.


Garth

  • Support Staff

February 12, 2015 at 8:07 am

Hi John,

Experimenting with loading the javascript in the footer is a bad idea unless you really know how JavaScript works and how it’s going to affect the performance of the systems on your website. It’s a really bad idea to do this on a live website too, you’re just asking for trouble.

We can’t comment on altering another plugin’s code to function conditionally for the Event Espresso pages. You are best to contact the plugin developer or work with an experienced JS developer.


Seth Shoultes

  • Support Staff

February 12, 2015 at 8:17 am

Here’s a reference to checking if you’re on a certain page:
http://codex.wordpress.org/Function_Reference/is_page


John Fineberg

February 12, 2015 at 8:17 am

That’s fine. I’ll just delete it.

I’m just a layperson, experimenting with techie things, going places I probably shouldn’t go, trying to make my website better and better, so I can make a simple living. But, in certain cases, I’m better off staying an EMT and CPR instructor.

By the way, I do have a dev site. I just don’t use it as often as I should. 😉

Viewing 6 reply threads

The support post ‘Registration Errors – Customers Can't Get Signed Up’ 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