Posted: May 27, 2018 at 5:33 pm
Just finished a migration of our site from EE 3.1.37.6 to 4.9.62. All looks pretty good… except the email field is no longer being captured when a user is registered, so no email notifications are being generated. I dug into what was happening, and here’s the context: It looks like the original site administrator changed the name/label of the system question for “email”. The renamed email field was then included in a new question group. In EE3, it allowed you to select system questions and include those in question groups; looks like this feature isn’t available in EE4. I also can’t add the renamed email field to the system question group (I see the field there, but the option to select it is grayed out). Halp! |
|
Hi there, One way to address this would be to delete the EE4 data from the Event Espresso 4 Maintenance page (it’s the bottom option on the Reset/Delete tab), then reactivate EE3 and change the email system question back to be an email question (it should be ID 3) and set it to the personal information group. Then you deactivate EE3, reactivate EE4 and re-run the migration. |
|
Hmmm, is there an Option B here? We want the system question for email to be assigned to a non-system question group. That would give us the functionality/appearance that we had in EE3, which is what we ideally want. Is that not possible with EE4? If that’s not possible, is there a way to programmatically “check” the system email question and set it to the personal information group WITHOUT having to rerun the migration? I see the field, but that boxed is grayed out, so there’s no way to select anything. |
|
The Email address system question must be assigned to the system group ‘Personal Information’ as EE expects the 3 fields used in that group by default (FName, LName & EMail) to be constant throughout the checkout, you can add additional fields to the group but EE needs those 3. However, you can have an additional email question in another question group and then use the answer to that question for the emails if that is what you are looking for? If you let us know the use case for the above we can advise how/if you can do that in EE (or the closest setup).
There’s no UI that will let you change the system questions so the only way to do that is by manipulating the database directly. The problem with that is that we don’t know the exact changes that need to be made as the EE3 setup ‘confused’ the migration so there may be multiple locations in the DB that need to be updated. |
|
I’m OK if the system email question is assigned to the personal information question group. That’s not ideal, but we’ll work with it. A little frustrated that this wasn’t included in the migration documentation; you allowed this in EE3, and in searching the threads on this forum, it appears that this isn’t an uncommon process for folks to use in EE3. As a side note, it would probably be helpful for others if you updated your documentation to include a note/warning about this for people migrating from EE3 to EE4. Back to the problem at hand. The problem with re-running the migration is that we’ve updated our servers to php 7, which isn’t compatible with EE3 (thus, why we had to migrate from EE3 to EE4 in the first place). So what are our options here? Right now, the system email question is hanging out in cyerspace… users don’t see it, we can’t assign it to the system personal info group (where it supposedly belongs), and there’s no way for the user to populate that field when filling out a registration. So basically you’re saying we’re stuck, and need to let that field just hang out there unused?
This approach might work… does that mean I need to modify all of the message templates to go to the new custom email field I’ve created? Right now the primary registrant notifications are being sent to [PRIMARY_REGISTRANT_EMAIL]. How do I change this to point to my new custom email field? I guess this |
|
The current version of EE3 is compatible with PHP 7 and is available to download on Github here: https://github.com/eventespresso/event-espresso-legacy/archive/master.zip |
|
Sorry, that strand was a little rambling, but I think this is the approach we’ll probably take:
Can you advise how to do the above? Right now the primary registrant notifications are being sent to [PRIMARY_REGISTRANT_EMAIL]. How do I change this to point to my new custom email field? |
|
We didn’t allow for this in EE3, the 3 system questions in EE3 did not have checkboxes – http://take.ms/brwbb Meaning your not supposed to remove those questions from the group. EE has always expected the questions to remain in the group. If the questions were somehow removed from the group and placed in another it would likely still work for a lot of cases as they are pulled by the ID, but then EE4 can’t rely on the expected relationship between those questions and migrating that data over to EE4 causes issues, like now. It’s a similar situation to users who were ‘repurposing’ EE3 address questions to something completely different (for example changing the state question to be DOB). EE3 allows the field to be edited to allow for translations, not completely repurposing the question itself.
No, that isn’t what I said. Josh advised a method to fix the question by fixing it within EE3 and re-migrating the data over, you ask if it was possible to work around that which I replied with (in short) not without editing the database directly and confirming that all relationships are edited correctly. Your options are to re-migrate with EE3 setup to use the personal info questions as expected, or manually update EE4’s database and confirm all of the question relationships are as expected, I do not recommend leaving that question in limbo as it will cause issuses further down the line.
That’s not a fix/workaround to the current problem, it’s a possible workaround to allow you to use EE4 with an additional email field, not a method to work around a ‘missing’ EE email system question. To answer your question you would use the However, if you continue to use EE4 with a missing system question, your creating registrations that a rely on ‘broken’ relationships which then may need fixing. For example, say you wanted to use the MailChimp Add-on… that’s not going to work as your questions are not what it expects and it will send the wrong values (at the very least the wrong email). You are much better off fixing this now before you’ve ran events/registration etc on EE4 rather than later when you then also have data that needs to be updated. |
|
The support post ‘Email address (system question) not showing up on reg form after EE4 migration’ 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.