Support

Home Forums Event Espresso Premium Site is throwing 'random' errors

Site is throwing 'random' errors

Posted: September 6, 2022 at 9:45 pm

Viewing 3 reply threads


Adam

September 6, 2022 at 9:45 pm

We launched our ticket sales to the public to over 25k of subscribers last night and some users were getting random errors like this on and unable to purchase, others were able to purchase?

WordPress version 6.0.2 Active theme: The Mounty Child (version 1.0) Current plugin: Event Espresso (version 4.10.38.p) PHP version 7.4.30 Error Details ============= An error of type E_ERROR was caused in line 650 of the file /home/USERNAME/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/form_handlers/FormHandler.php. Error message: Uncaught EventEspresso\core\exceptions\InvalidFormSubmissionException: The “Contact Details” form is invalid. Please correct the following errors and resubmit: EventEspresso\core\domain\services\validation\email\EmailValidationException: The email address provided is not valid. in /home/USERNAME/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/services/validation/email/strategies/WordPress.php:26 Stack trace: #0 /home/USERNAME/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/services/validation/email/EmailValidationService.php(77): EventEspresso\core\domain\services\validation\email\strategies\WordPress->validate(‘corinne.darwink…’) #1 /home/USERNAME/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/values/EmailAddress.php(32): EventEspresso\core\domain\services\validation\email\EmailValidationService->validate(‘corinne.darwink…’) #2 [internal function]: EventEspresso\core\domain\values\EmailAddress->__construct(‘corinne.darwink…’, Object(E

And another different one as she was trying to pay, her order is now pending:

An error has occured. Were sorry but there appears to be an error with the “reg_url_link” or the primary registrant for this transaction…. please refresh page this …


Tony

  • Support Staff

September 7, 2022 at 8:59 am

Hi Adam,

For the above error, do you know what email address was being used for that registration?

The error being shown means that the email validation threw an exception stating the email address was not valid. I’d like to check into that further to see why.

That exception would have been thrown when the EE_Contact was being created for the registration, which likely links to why this error was thrown:

An error has occurred. We’re sorry but there appears to be an error with the “reg_url_link” or the primary registrant for this transaction…. please refresh page this …

If the EE_Contact threw an exception when trying to create the contact for the primary registrant, there would not have been a primary registrant set on the transaction, hence the error.


Adam

September 7, 2022 at 6:42 pm

Hi Tony,

Regarding that first error.
One of our staff apparently was updating her email address in the system. You may be right, it may have included a training period.

As to the second error,
I think that she had an existing pending transaction that wasn’t finalised and then she tried clicking the link in the email receipt she received and clicked the ‘make payment here link. We cannot find a booking in the system at all for her.

Any idea what happened?


Tony

  • Support Staff

September 8, 2022 at 7:14 am

One of our staff apparently was updating her email address in the system. You may be right, it may have included a training period.

From the front end or admin?

I’m asking as that may well be related to your other issue.

I think that she had an existing pending transaction that wasn’t finalised and then she tried clicking the link in the email receipt she received and clicked the ‘make payment here link. We cannot find a booking in the system at all for her.

Hmm, ok so there are a few possible reasons for registrations to be removed.

First, any caching enabled on the site/server?

Second, you mentioned above that the registration hadn’t been finalized, what can happen if users don’t finalize the registration properly is it keeps the session open. If the user then selects additional tickets whilst the cart session has been opened and tried to finalize that it can break the line items for the transaction. if that happens, EE’s garbage collection can detect the transaction has missing line items and remove it when the garbage collection function runs.

The above is usually pretty rare but I’ve seen it happen, basically, the user creates a registration linked to a transaction and the lines items all match… they don’t finalize and start to change the cart with additional (or possibly even the same tickets) which overwrites the line items and they no longer match.

Its important to note that I’m guessing here as I can’t tell you what has happened from the above and if the registration no longer shows in EE then it won’t be within the database for us to investigate further unfortunately.

Viewing 3 reply threads

The support post ‘Site is throwing 'random' errors’ 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