WP 3.1, EE 3.1.33.3P Business License, recent upgrade from 3.0.19.b20
After recently upgrading EE, we noticed that inidividual Attendee meta data isn’t visible anymore. All the attendee records display properly when viewing the Attendees Report, but when you click on an individual name, there is no information below the header label “Registration Information [ Primary Attendee Record ]”.
Looking at the database, it appears that attendee meta data is now stored in the new table wp_events_attendee_meta. Registrations that occurred on our site after the upgrade have records in this table, and the individual attendee data displays correctly.
Is there an upgrade script I can run to create records in the new table for existing records in the wp_events_attendee table?
I understand – can I use the SERIALIZE() function in the code now to manually insert the records? I understand I may have to manipulate the data coming from the events_attendee table first…
It may be easier than that. This is the sql getting the attendee id to pull the data for the edit attendee record admin screen:
$SQL = "SELECT id FROM " . EVENTS_ATTENDEE_TABLE . " WHERE registration_id =%s AND is_primary = 1 ";
I believe that “is_primary” field is new to 3.1. It may just be a matter of going through your old records and adding a 1 to that field for your primary attendees.
OK, so I tested this out on the closest version I have to yours, version 3.0.19.P.41.
Using a free event as a base, the Primary registrant has a status of Completed but the additional attendees have an Incomplete status.
Obviously this is 100% as it’s possible primary attendees didnt pay for an event and are therefore incomplete, but it gives a place to start.
One other way to at least group them, is to check the registration_id. If it is a group booking then that ID will be the same for each attendee as they are lumped together with the primary attendee. So if there are five people with the same ID and one is Completed, thats your Primary attendee.
Viewing 5 reply threads
The support post ‘Cannot view existing individual Attendee Data after upgrade to 3.1.33.3P’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.