Posted: February 4, 2019 at 3:25 pm
Seeing HTTP 500 error when ‘Resend Registration Email’ envelope icon is being clicked. EE 4.9.73.p Here is the fatal error: The code that is breaking is: // now we need to loop through the ticket list and send data to the EE_Parser helper. |
|
Hi, May I ask were there any tickets related to that event deleted? The code expects there to be a ticket, but the related ticket seems to be missing from the database (specifically the _esp_ticket table). |
|
The goal is to move the registrant from one time slot, to another time slot, in the same event. Since Attendee Mover won’t facilitate this directly, the work around is to move registrant to another event, then back to the original event at that new time slot. The problem with the work around however is that we can’t seem to send the registration confirmation email… |
|
Does that mean your answer is “no”? It sounds like you’ll need to make a ticket for each time slot (or datetime) within the event to accomplish your goal. This way, when you get to step 2 of the Attendee Mover process, you’ll select the other ticket. Each ticket can be assigned to a specific timeslot which will allow for moving attendees from one time slot to another one. |
|
Hey Josh, totally agree with what you are describing as the ideal workflow. That generally is broken in our experience. Have another ticket going with that issue, related to Attendee Mover. Sorry should have referenced that before, here is the support ticket infos https://eventespresso.com/topic/http-500-error-using-attendee-mover/ |
|
Hi, May I ask what’s broken about requiring a specific ticket for a specific datetime? I’m not sure how else you’re going to enforce registration limits for each datetime, or even assign a registration to a datetime. The one way to assign a registration to a datetime is through a ticket. |
|
Hi Matt, Can you post a screenshot of the event editor on the original event? I want to see the datetime & ticket setup for that event. https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots The problem from the other ticket is you are moving the registration to the exact same ticket (the registrations ticket ID === new ticket ID) which is why the exception is thrown, yes the exception is currently broken, but… as mentioned an error would still be thrown in that case regardless. So I’d like to check how you have the tickets/datetimes set up so we can investigate further for this use case for this. |
|
Here is the screenshot of the event in question, Event Tickets & Datetimes. There are four sessions for this one event: |
|
The other ticket relates to an exception being thrown when you try to move registration to the same ticket it is already on. Using your example from above, I can use the attendee mover to move a registration from the Session One ticket, to the Session Two ticket, then again from Session 2 to Session 3 if needed, without any problems. With the setup above you have separate tickets for each session, each of those tickets will have their own unique ID so the only way to get the error mentioned in other ticket is if you selected a registration that was on the Session One ticket and then on Step 2 of the attendee mover add-on you selected that same Session One ticket again. From your other thread:
‘Broken’ exception or not, Meaning With the above setup, there should be no need to move a registration to another event, then back to the original event, just to move that registration from one Session (ticket) to another. Are you 100% sure you are selecting the correct session when moving the registration? Meaning you are selecting a ticket other than the ticket they are on? —- With regards to this ticket, something odd is going on with the above in that is has a registration but no ticket assigned to it. Based on the above, I’m assuming you have moved that registration from the above event, to another, then back to the original event again? Did you make any changes to the tickets available on that event in between that time or was it done in essentially one long step? |
|
Hi Tony and Josh, the other EE support ticket has been resolved with an update to \eea-attendee-mover\form\SelectTicket.php as advised, thank you for that solution. The issue with ‘Resend Registration Email’ remains an active issue for us. My understanding is that no changes to the tickets were made, as you noted the registration session move and notification email attempt was essentially done as one long step. We are seeing this (HTTP 500 when attempting to resend confirmation email) with a couple of different registration: |
|
We can’t view those registrations as they are hosted on your site but have both of those registrations been moved using the attendee mover? |
|
Yes, both of the registrations in question have been moved by Attendee Mover. I understand that you’re not able to see the registration, sharing for clarity on what specific http request is being made that triggers the error. |
|
Hi Tony, what are our next steps for troubleshooting the HTTP 500 error we are seeing when initiating a ‘Resend Registration Email’ for a registration that has been moved by Attendee Mover? |
|
Hi Matt, Apologies for the delay, I’ve been working through trying to reproduce the situation that would cause this but so far have been unable to. Can I take a look in the admin at the registration in question? If so you can send temp login details using this form: https://eventespresso.com/send-login-details/ I’d also like to add some code to the site so I can view some details on the registration and its line items, to do that I’ll need FTP access to the site, or if you’d prefer to install Debug Bar with Debug Bar Console I can use that. |
|
Thank you for the update. Accounts have been created and submitted. Thanks again. |
|
Hi Matt, Thank you for the accounts, with those I was above to narrow down the problem and have applied a temporary patch to your version of Event Espresso which should allow the email to send. Normally I’d test the change, I’m not going to test the change on your site myself as I don’t want to trigger unnecessary emails to yourself/the user but I reproduced locally and patched my version to work, then applied the same to yours so if you do run into an issue when you resend the email please do let me know (I’ll need the full error if you get one). I’ve created a ticket for us to investigate this further and see what we can do. Just to note the problem is from having cancelled registrations from the same datetime (and so same event) as the current registration AND using the |
|
The support post ‘HTTP 500 error when clicking 'Resend Registration Email'’ 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.