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!

The support post ‘Transaction ID 0? How could this happen, how do I fix?’ 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