Support

Home Forums Event Espresso Premium Error when searching for registration

Error when searching for registration

Posted: August 8, 2016 at 12:02 pm

Viewing 7 reply threads


Bob Randklev

August 8, 2016 at 12:02 pm

Site is taking registrations fine and all appears ok until we search for a registration and we get this error:
Fatal error: Uncaught exception ‘EventEspresso\core\exceptions\EntityNotFoundException’ with message ‘The requested entity with Event ID=”1825″ was not found.’ in wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php:189 Stack trace: #0 wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php(204): EE_Registration->event() #1 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(850): EE_Registration->wp_user() #2 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(653): EE_Meta_Capability_Map_Read->_map_meta_caps(Array, ‘ee_read_registr…’, 3, Array) #3 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(204): EE_Meta_Capa in wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php on line 189

Here are more details:
Error Message

Fatal Error: Uncaught exception ‘EventEspresso\core\exceptions\EntityNotFoundException’ with message ‘The requested entity with Event ID=”1825″ was not found.’ in wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php:189 Stack trace: #0 wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php(204): EE_Registration->event() #1 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(850): EE_Registration->wp_user() #2 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(653): EE_Meta_Capability_Map_Read->_map_meta_caps(Array, ‘ee_read_registr…’, 3, Array) #3 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(204): EE_Meta_Capa in wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php on line 189
Description

The Event Espresso plugin code created an error that caused PHP execution to fail.

Solutions

Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
It is possible that this plugin’s code is out of date and that an upgrade is available. Check with the plugin’s author to see if an upgrade is available.
There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
The Event Espresso plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin.
Error Source Details

Type Plugin
Name Event Espresso
Version 4.9.7.p
Author Event Espresso
Path wp-content/plugins/event-espresso-core-reg
File core/db_classes/EE_Registration.class.php
Other Software Details

WordPress Version 4.5.3
PHP Version 5.6.24
Full Error Details

Type Fatal Error (E_ERROR)
Message Uncaught exception ‘EventEspresso\core\exceptions\EntityNotFoundException’ with message ‘The requested entity with Event ID=”1825″ was not found.’ in wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php:189 Stack trace: #0 wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php(204): EE_Registration->event() #1 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(850): EE_Registration->wp_user() #2 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(653): EE_Meta_Capability_Map_Read->_map_meta_caps(Array, ‘ee_read_registr…’, 3, Array) #3 wp-content/plugins/event-espresso-core-reg/core/EE_Capabilities.core.php(204): EE_Meta_Capa
File wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php
Line 189
Type Description This type of error indicates that PHP cannot continue to run the code. Typical causes of this type of error are code bugs that have typos, missing or incomplete files (such as a file that was only partially uploaded), and the code using more memory than it is allowed.

Is this a code update or php version change or more memory?

  • This topic was modified 8 years, 2 months ago by Josh. Reason: removed server file paths


Josh

  • Support Staff

August 8, 2016 at 3:07 pm

It sounds more like some of the events on the site were deleted from the database. Can you check to see if the events that have the registrations you are searching for still exist on the site?


Bob Randklev

August 9, 2016 at 8:59 am

Yes if we search for a known registration it works. If we search for something non-existent we get the error


Josh

  • Support Staff

August 9, 2016 at 9:12 am

Have you or someone on your team been deleting some of the events? That’s the only way to get the error you’re seeing.


Bob Randklev

August 9, 2016 at 9:13 am

Yes I’m sure they have deleted past events or registrations.


Josh

  • Support Staff

August 9, 2016 at 9:36 am

You can avoid the errors you saw by not deleting events that have attendees. The error will happen if they deleted some past events, then they search for an attendee, and there’s an attendee that was registered for one of those deleted events.


Bob Randklev

August 10, 2016 at 11:49 am

Is there a way to “drop” all the events/registrations?

The client has a breaking point coming up September 1st where they won’t enter classes or be taking registrations. They have no reason to keep past records and would like to start fresh without rebuilding the entire setup for EE.

Do we drop certain tables in PHPmyadmin or ???

(Of course we’d have multiple backups before doing anything like this)


Josh

  • Support Staff

August 10, 2016 at 12:39 pm

You’ll find a reset data button in Event Espresso > Maintenance.

Viewing 7 reply threads

The support post ‘Error when searching for registration’ 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