Posted: February 21, 2014 at 12:36 pm
|
I noticed that I am getting some attendees that don’t have a value for “Option” in their registration. I only have one price right now but will be adding more so seeing which price they registered under would be useful. Have you seen this before? Any idea what’s going on and how to fix it? I have a screenshot I can provide. |
Hi Matt, If you could post the screenshot that would helpful for us to identify the field. You’ll need to host the image somewhere and post the link for us to view. |
|
|
Here you go! *removed*
|
|
I have made minor changes to the page that contains the registration form (updating text/etc) and these may correlate to when I was doing that. Would that have an affect? |
It all depends on what was changed. Did you make these change within the template files? |
|
|
No, it was on a separate post page and all I changed was the post body. |
Hmmmm, so just to confirm, you’ve made no changes at all to the files within event-espresso/templates/? If so you could try re-installing Event Espresso 3, just download the latest version from you account page, delete the current plugin and upload the newly downloaded version. I would recommend backing up your site first, just in case. We have a guide posted to help you through, here: https://eventespresso.com/wiki/how-to-back-up-your-site/ We also have a guide for updating Event Espresso (although you are on the current version of EE3) the process is the same. Available here |
|
|
No, I haven’t messed with those templates at all. I will have to wait until I have a little more time to try re-installing. It may be related to when I switched from having people register through the event registration page to including the event registration form on a post. To see the example, I used to be using the default registration page (http://agileindy.org/event-registration/?ee=2) but now directing everyone through a custom post (http://agileindy.org/2014/02/06/agileindy-conference-2014/). |
|
Hi Matt, I’ve found the problem, and made a patch for you. |
|
I tried using the blank plugin but after copying in the function and trying to activate the plugin it fails saying it generated a fatal error. Also, I assume this won’t fix the existing bad entries. How do I fix those? Do I just need to update a database table or something? |
|
Hi, What was the fatal error? Can you copy the full contents of the plugin file to pastebin or similar service? No it does not look like that script is retro active. |
|
Here is the full content. |
|
Hi, Thanks for that. OK so it looks like some sort of load order issue. I think the easiest solution is to not use the plugin in this situation, and to create a file in the uploads/espresso/templates directory called custom_functions.php In that empty file add the following <?php function espresso_reg_form_sc($atts) { wp_enqueue_script('validation'); //This tells the plugin to load the required scripts extract(shortcode_atts(array('event_id' => '0'), $atts)); $event_id = "{$event_id}"; ob_start(); register_attendees(NULL, $event_id, true); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; } If the file already exists and has content, you can add the above to the bottom of the file BUT remove the <?php bit |
The support post ‘Attendees missing "Option"’ 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.