Support

Home Forums Event Espresso Premium Transaction ID 0? How could this happen, how do I fix?

Transaction ID 0? How could this happen, how do I fix?

Posted: April 1, 2020 at 11:03 am


Daniel

April 1, 2020 at 11:03 am

Hi!

I am seeing EventEspresso\core\exceptions\EntityNotFoundException thrown
The requested entity with Transaction ID=”0″ was not found.

Somehow a transaction got the ID 0 and is gumming up some admin area info.

This error is from:
admin.php?page=espresso_registrations&action=default&default_nonce=af61c813f6&status=trash&event_id=5657&return=default


Josh

  • Support Staff

April 1, 2020 at 1:49 pm

Hi,

Do you know anything about that registration in particular, like why it was put into the trash?


Daniel

April 1, 2020 at 2:41 pm

I don’t know much about it other than the person registering was signing up for a lot of events and one of the admins was trying to remove their extra registrations. They might have been un-registering the person… at the same time? Before everything was settled, maybe?

D


Josh

  • Support Staff

April 1, 2020 at 2:50 pm

In that particular case it would be better to set a registration status as “cancelled” instead of trashing the registration because there are other registrations in that same transaction and it’s best to avoid trashing entities that have related data you want to keep (like their other registrations).


Daniel

April 1, 2020 at 10:44 pm

I see. Not sure why a db row can end up with 0 id and cause Exceptions to be thrown by using normal UI elements. But, that’s good advice to do soft deletes.

Thanks!

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Daniel 1 month, 3 weeks ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!