Our client reported there are over 100 registrations with “no associated event” in their registration list.
If you try to trash any of them without a padlock we get this error:
Fatal Error: Call to a member function ID() on a non-object in /wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php on line 1811
We also get an error trying to cancel the padlock registrations because you can’t trash them.
The first thing to try is check the trash and if they are in the trash, you restore those events out from the trash.
If they’re not in the trash, then you can make a “replacement” for the event that got deleted. So you set up a draft event and make note of its post ID. So for example, let’s say my new event has a post ID of 5200.
Then from the registration list table, you click on where it says “No Associated Event”. That will bring up an error, and that’s fine because all you want to do is get the post ID for the original event that was deleted. The url will have something this:
Then you can go into the wp_post table in phpmyadmin and change the post with the ID of 5200 (your new draft event) to be the ID of the old event (5106).
After you do this, the registrations will be associated with an event.
Viewing 3 reply threads
The support post ‘How to remove registrations with "no associated event"’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.