Support

Home Forums Event Espresso Premium How to remove registrations with "no associated event"

How to remove registrations with "no associated event"

Posted: April 10, 2015 at 8:53 am

Viewing 3 reply threads


Bob Randklev

April 10, 2015 at 8:53 am

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.

Here’s what we are seeing in the dashboard:
DB

Thanks for you help!


Tony

  • Support Staff

April 10, 2015 at 10:25 am

Hi Bob,

Has the event these registrations where assigned to been removed?


Bob Randklev

April 10, 2015 at 10:40 am

Yes it has… maybe we need some training on what to do before deleting an event but how do we fix this for now?


Josh

  • Support Staff

April 10, 2015 at 7:12 pm

Hi Bob,

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:

/admin.php?page=espresso_events&action=edit&post=5106&edit_nonce=

So in the above example, the post ID is 5106.

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.

Event Espresso