Support

Home Forums Event Espresso Premium Fatal Error: Uncaught Invalid Argument Exception

Fatal Error: Uncaught Invalid Argument Exception

Posted: October 21, 2020 at 8:42 am


JCHCoop

October 21, 2020 at 8:42 am

Hi there! I was working on building out our registration today and received this error after duplicating an email confirmation field and adding it to the registration. I was not working on any pricing or payment information.

Fatal error: Uncaught InvalidArgumentException: The "edit_event_datetimes" array is invalid therefore the event can not be updated. in /home/jchcoopc/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php:306 Stack trace: #0 /home/jchcoopc/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php(281): espresso_events_Pricing_Hooks->_update_datetimes(Object(EE_Event), Array) #1 /home/jchcoopc/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php(1020): espresso_events_Pricing_Hooks->datetime_and_tickets_caf_update(Object(EE_Event), Array) #2 /home/jchcoopc/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1013): Events_Admin_Page->_insert_update_cpt_item(426, Object(WP_Post)) #3 /home/jchcoopc/public_html/wp-includes/class-wp-hook.php(287): EE_Admin_Page_CPT->insert_update(426, Object(WP_P in /home/jchcoopc/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 306

There has been a critical error on your website. Please check your site admin email inbox for instructions.


Tony

  • Support Staff

October 22, 2020 at 4:04 am

Hi there,

So, a couple of questions for this.

Where did you see this error? You mentioned you duplicated the email confirmation question, so did this show up after saving a question page or when saving the event itself?

Are you still getting this same error?

If this happened when updating an event, how many datetimes and tickets do you have on the event?

The support post ‘Fatal Error: Uncaught Invalid Argument Exception’ 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.

Do NOT follow this link or you will be banned from the site!
[i]
[i]