Support

Home Forums Event Espresso Premium Critical error after updating to 5.0

Critical error after updating to 5.0

Posted: March 16, 2023 at 1:20 pm

Viewing 6 reply threads


Tom

March 16, 2023 at 1:20 pm

I updated the plug in today and now I am unable to make any edits to events, as soon as I choose either the save draft or publish option it returns a critical wordpress error. This is the message, any help appreciated

WordPress version 6.1.1 Active theme: Avada (version 7.8.2) Current plugin: Event Espresso (version 5.0.0.p) PHP version 7.4.10 Error Details ============= An error of type E_ERROR was caused in line 709 of the file /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php. Error message: Uncaught TypeError: Argument 1 passed to Events_Admin_Page::verify_event_edit() must be an instance of EE_Base_Class or null, bool given, called in /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-includes/class-wp-hook.php on line 308 and defined in /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php:709 Stack trace: #0 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-includes/class-wp-hook.php(308): Events_Admin_Page->verify_event_edit(false, ‘insert_update’) #1 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #2 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /hermes/bosnaweb27a/b1897/dom.patchen/wp_site_1660096290/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(710): do_action(‘AHEE__EE_Admin_…’, false, ‘insert_upd


Garth

  • Support Staff

March 16, 2023 at 2:18 pm

Hi Lisa,

How are you today?

Thank you for the information, we are looking to this on our end.

Do you know if you have any customizations to Event Espresso on your website?


Tom

March 16, 2023 at 2:29 pm

Hi, and thank you. Your team is always so quick to respond, I appreciate that. We only have the Calendar plug in enabled. I do not believe any other tweaks are beign used other than a few CSS items set to display:none


Garth

  • Support Staff

March 16, 2023 at 3:15 pm

Hi Lisa,

We have a suspicion that the Avada theme might be the cause of this.

Is there a chance you can change your theme on a test environment or your live site momentarily and try again?

Could you send us the zip file of your theme to support@eventespresso.com?


Tom

March 16, 2023 at 6:12 pm

I downgraded to the previous version of event espresso and thankfully everything is back to normal. I emailed the Avada theme file as requested.


Tony

  • Support Staff

March 17, 2023 at 7:22 am

Hi there,

No issue with the theme itself, however, I assume you also have the Avada Core and Builder installed?

If so can you send me a copy of each of those over please? Same email address.


Tony

  • Support Staff

March 24, 2023 at 1:10 pm

Hi Tom,

May I ask, who are you hosting with? GoDaddy Managed WordPress by any chance?

If you edit an event on the site, are revisions enabled on the event? (If you see a section for revisions, or in the screen options at the top right if there is a section to check/uncheck revisions, they are enabled on EE Events)

Viewing 6 reply threads

The support post ‘Critical error after updating to 5.0’ 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