Posted: January 29, 2019 at 11:49 pm
Seeing HTTP 500 error with Step #3 “verify changes” to step #4, error occurs with and without Trigger Notifications set to ‘Yes’, when clicking “Next Step”. We have EE messages Generate and send all messages set to ‘On the same request’ because wp-cron is not available on liquidweb WP hosting. EE 4.9.73.p |
|
This reply has been marked as private. | |
Hi there, Error 500 is a general error shown to visitors when something goes wrong, it usually means there has been a fatal error on the server side and that error would have been logged in the error logs. So if you look in your hosts control panel you will usually have a section to view the logs, can you see an error from EE there? If not, add this snippet to your https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Then do another attendee move and the error should be logged to |
|
[29-Jan-2019 06:12:28 UTC] PHP Fatal error: Uncaught EventEspresso\core\exceptions\InvalidFormSubmissionException: The data for the “Registrations can not be moved if you select the exact same ticket that the registration already has! Please select a different ticket.” form, is either missing or was not submitted properly. in /home/s1/html/wp-content/plugins/eea-attendee-mover/form/SelectTicket.php:159 When I look at /plugins/eea-attendee-mover/form/SelectTicket.php line 159 I see: if ($TKT_ID === $existing_ticket_ID) { This calls the following function in plugins\event-espresso-core-reg\core\exceptions\InvalidFormSubmissionException.php /** Note that the first parameter it’s expecting is the $form_name The data for the “Registrations can not be moved if you select the exact same ticket that the registration already has! Please select a different ticket.” form, is either missing or was not submitted properly So this looks to me like a bug in the plugin itself? |
|
Hmm, ok, thank you for looking into this. As you mentioned, the exception is invalid as is, however even after fixing it, which can be done by changing the above to this:
An exception will still be thrown because the Ticket you have selected is the exact same ticket your registration is already on. I’ll create a ticket to handle the error better but either way, the selection you are making on the attendee mover will not work. You can only move a registration onto a ticket other than the ticket it is already on. |
|
Thank you Tony, the code update to \eea-attendee-mover\form\SelectTicket.php did resolve this issue. We are now able to move a registrant from one time slot to another time slot, in the same event. |
|
Great, but that’s still rather strange as the above should be thrown if you are selecting the exact same ticket the user is already on. |
|
The support post ‘HTTP 500 error using Attendee Mover’ 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.