Support

Home Forums Event Espresso Premium Large registration site has gone live – need assistance deciphering error codes

Large registration site has gone live – need assistance deciphering error codes

Posted: November 20, 2017 at 9:58 pm

Viewing 3 reply threads


website@secpta.net

November 20, 2017 at 9:58 pm

Hello,

My organization just went live today with a massive roll-out of events with EE. I’m having trouble replicating the errors that some of our members have purportedly had, but they seem to revolve around either the registration process timing out or tickets randomly being removed from their carts. We use WPEngine, and a tech provided me with the following error from the server. Could you help me interpret this so that I can try and remedy this if there is anything my setup is causing the throw some of the reported errors?

PHP Fatal error: Uncaught TypeError: Argument 2 passed to EED_Messages::payment() must be an instance of EE_Payment, null given in /nas/content/live/secpta/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php:458\nStack trace:\n#0 [internal function]: EED_Messages::payment(Object(EE_Transaction), NULL)\n#1 /nas/content/live/secpta/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array)\n#2 /nas/content/live/secpta/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)\n#3 /nas/content/live/secpta/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /nas/content/live/secpta/wp-content/plugins/event-espresso-core-reg/core/EE_Payment_Processor.core.php(567): do_action(‘AHEE__EE_Paymen…’, Object(EE_Transaction), NULL)\n#5 /nas/content/live/secpta/wp-content/plugins/event-espresso-core-reg/core/EE_Cron_Tasks.core.php(457): EE_Payment_Processor->update_txn_based_on_payment(Object(EE_Transaction), NULL, true, true)\n#6 [internal function]: EE_Cron_Tasks::process_expired_tr in /nas/content/live/secpta/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php on line 458

Thank you!
Marshall


Tony

  • Support Staff

November 21, 2017 at 3:53 am

Hi Marshall,

That error relates to the messages system and means a function that was expecting to receive a payment received nothing however it does not provide details as to how/why that happened. The above error is very unlikely to cause the problems you mentioned above.

Do you have a test event I can run some registrations on?


website@secpta.net

November 22, 2017 at 9:26 pm

Hi Tony,

Because of the issues with the user interface specific to the registrations disappearing from their carts, we have decided to wait another month to “go live”. So to answer your question, I have approx 35 events that are now only “test” that you could try out.

I’ll be honest – I’ve tried replicating the issue and have only seen it reproduced a few times, and it seems to be somewhat random/unpredictable. Some people have reported no issues, and others have reported that their carts spontaneously emptied out on the first try, but then on the second try they were able to successfully complete the process. I also heard one person indicate that the popup that shows upon adding a registration to the cart had indicated no events in the cart, but then they were there when they actually went to the cart. Also, another person reported that they were able to add all the events to the cart successfully, but upon checkout, received an error stating “An error has occurred: Your form data could not be applied to any registrations. This can sometimes happen if too much time has been taken to complete the registration process. Please return to the Event List and reselect your tickets. If the problem continues, please contact the site administrator.” In this case, the person was going through things pretty quickly and didn’t let anything sit for long.

I also contacted WPEngine to make sure that all the necessary pages are set to not cache, which they have been set as such all along. I also use WP Rocket and Cloudflare. I checked WP Rocket to make sure that the “no-cache” settings were being applied to the required pages (all good). WPEngine explained that Cloudflare would pick-up the server-side “no cache” tags, so there is nothing else I need to do there.

The main registration page we are currently utilizing is https://www.secpta.net/events-sign-up/. I have all the events as “member only” so I’d be happy to provide you with a user account so you could test anything out from you end. Just let me know how to proceed.

I do appreciate any assistance you can provide. I am at a standstill and don’t know what else to check on!

Thanks again,
Marshall


Tony

  • Support Staff

November 23, 2017 at 1:45 am

We’ve tracked down where the error message from above is coming from and have fixed it in the next version of EE, however it won’t cause problems with registrations clearing from the cart.

Registrations disappearing from the cart would normally mean your sessions are being cleared on the server, meaning EE then doesn’t have any way to know what tickets you had selected.

Some people have reported no issues, and others have reported that their carts spontaneously emptied out on the first try, but then on the second try they were able to successfully complete the process.

That would apply if sessions were cleared using a cron or similar as the first registration was hit by the session clearing and then the second registration was put through during the ‘wait time’ for the next cron job to run.

I also heard one person indicate that the popup that shows upon adding a registration to the cart had indicated no events in the cart, but then they were there when they actually went to the cart.

That one is strange but I guess its possible the session was cleared right before the modal text was generated.

Also, another person reported that they were able to add all the events to the cart successfully, but upon checkout, received an error stating “An error has occurred: Your form data could not be applied to any registrations. This can sometimes happen if too much time has been taken to complete the registration process. Please return to the Event List and reselect your tickets. If the problem continues, please contact the site administrator.”

That again all ties into your session, if you get to the checkout page with no events assigned in your session and EE can’t find any registrations then it displays that error.

Note I’m really just guessing right now as we don’t have enough info to know exactly what the problem is.

If you can send login details using this form: https://eventespresso.com/send-login-details/

I’ll run a couple of test registrations and see what happens.

Also, if you install WP Crontol on the site and then go to Tools -> Cron events, do you see anything that mentions ‘session’ there?

Viewing 3 reply threads

The support post ‘Large registration site has gone live – need assistance deciphering error codes’ 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.

Event Espresso