Posted: April 5, 2016 at 8:28 am
|
We are currently experiencing issues when users attempt to complete payment and registration for an event Once the user has entered all of the payment info and selects the finalize registration button, they receive an error letting them know they could not complete registration. Although the user is told that registration is not complete, they are charged and and receive the confirmation emails for both registration and payment. They are also marked as registered in the WordPress Admin area. The payment is completing with Authorize.net successfully. The error seems to be specific to the ajax request that is sent upon final registration, as it is returning a 500 error. We have reviewed both the Event Espresso Logs and Apache logs and were unable to find any useful data. Please feel free to reference the info below: |
Hi Nancy, You are correct, it looks like there is a fatal error being thrown during the ajax request. Can you enable WP_DEBUG so we can run a registration and see if we can catch the error please? |
|
|
WP_Debug has been enabled. Thanks! |
Unfortunately your theme is throwing notices that are breaking the ajax request (separate issue from the error 500) Can you swap out the WP_Debug code you have now, for this:
Which basically enables WP_Debug, but stops it printing errors to the screen and adds them to a debug.log file within /wp-content/ This is the notice being thrown:
Its usually within the theme and just means a widget need to be updates to follow the latest coding standard. I’d recommend you issue a ticket with your theme developers to get that fixed. |
|
|
I have updated the WP_debug code. I will make sure to make to make a note regarding the deprecated constructor method in the theme. Thanks! |
Hmm, there’s nothing being logged in the debug log when the ajax error is thrown. Have you modified the default message templates within Event Espresso at all? I’m wondering if this is an issue with triggering messages (although it would be strange as the payment message seems to work fine). Can you enable the Invoice payment method so I can finalize a registration without having to pay and confirm that works. |
|
|
I have activated the invoice method. Please let me know when you are done testing so I can disable it, as the site is live. I don’t believe any of the message templates have been modified besides some basic text changes, but I can verify with the client to make sure. |
Ok, I think I’ve found it. With the invoice payment method there’s a fatal error shown within debug.log:
That’s about 40MB which is rather low when using Event Espresso. I’d recommend updating to at least 96MB, you usually can do that by adding:
to the wp-config.php file, anywhere above the line I normally add it just above where I add WP_Debug. More info: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP If that then works you can de-activate the Invoice payment method, set WP_Debug to FALSE and also delete the debug.log file from within /wp-content/ |
|
|
That appears to have resolved the issue. Thank you for your help! |
You’re most welcome. Remember to disable the error logging and remove the debug log (unless you want to start the rrors) as that file is publicly accessible. |
|
The support post ‘Registration Completion Error – EE4’ 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.