Support

Home Forums Event Espresso Premium Error on Backend.

Error on Backend.

Posted: October 16, 2023 at 9:54 am

Viewing 3 reply threads


Katelyn

October 16, 2023 at 9:54 am

We received an error on the back-end of our site. Could you please assist?

An error of type E_ERROR was caused in line 971 of the file /nas/content/live/jgpracademy23/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_Admin.module.php. Error message: Uncaught TypeError: EED_WP_Users_Admin::save_wp_user_event_setting(): Argument #1 ($event) must be of type EE_Event, null given, called in /nas/content/live/jgpracademy23/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php on line 1109 and defined in /nas/content/live/jgpracademy23/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_Admin.module.php:971
Stack trace:
#0 /nas/content/live/jgpracademy23/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php(1109): EED_WP_Users_Admin::save_wp_user_event_setting(NULL, Array)
#1 /nas/content/live/jgpracademy23/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(971): Events_Admin_Page->_insert_update_cpt_item(16766, Object(WP_Post))
#2 /nas/content/live/jgpracademy23/wp-includes/class-wp-hook.php(310): EE_Admin_Page_CPT->insert_update(16766, Object(WP_Post), true)
#3 /nas/content/live/jgpracademy23/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#4 /nas/content/live/jgpracademy23/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /nas/content/live/jgpracademy23/wp-includes/post.php(4753): do_action(‘save_post’, 16766, Object(WP_Post), true)
#6 /nas/content/live/jgpracademy23/wp-includes/post.php(4855): wp_insert_post(Array, false, true)
#7 /nas/content/live/jgpracademy23/wp-admin/includes/post.php(445): wp_update_post(Array)
#8 /nas/content/live/jgpracademy23/wp-admin/post.php(227): edit_post()
#9 {main}
thrown


Tony

  • Support Staff

October 16, 2023 at 12:03 pm

Hi there,

Have you been making changes to a trashed event?

We had a recent report of this same error and it was from a user saving changes on a trashed event, EE excludes the trashed event from the hooks used on trashed events which then caused an error within add-ons expecting an event.

If so, we have this fixed in the next version of EE due out soon.


Katelyn

October 16, 2023 at 12:12 pm

This reply has been marked as private.


Rio

  • Support Staff

October 16, 2023 at 7:27 pm

This reply has been marked as private.
Viewing 3 reply threads

The support post ‘Error on Backend.’ 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