Support

Home Forums Event Espresso Premium Unable to save a ticket for an event

Unable to save a ticket for an event

Posted: September 3, 2014 at 11:17 pm

Viewing 1 reply thread


Isaac Wilke

September 3, 2014 at 11:17 pm

I just installed the EE4 plugin and was creating a new event and I am unable to save the event once I create a ticket for the event. I am seeing this error underneath the Events Tickets & Datetimes section of any event that I try to create.

Warning: Invalid argument supplied for foreach() in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 693

Warning: Invalid argument supplied for foreach() in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 1090

Then after I create a ticket and try to update the event I get this error:

Warning: Invalid argument supplied for foreach() in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 148

Warning: array_keys() expects parameter 1 to be array, null given in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 198

Warning: array_diff(): Argument #2 is not an array in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 198

Warning: Invalid argument supplied for foreach() in /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 199

Warning: Cannot modify header information – headers already sent by (output started at /home/njfibuzz/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php:148) in /home/njfibuzz/public_html/wp-includes/pluggable.php on line 1121


Dean

September 4, 2014 at 2:11 am

Hi,

That error normally happens when a date is excluded.

When you create the event initially, are you adding in dates and times for the datetimes and tickets? Screenshot http://take.ms/Cgft5J

Also are they in the correct format? (Using the date picker tooltip will always add them in with the correct format).

There isn’t a way to fix that, you will need to delete the event and recreate it making sure all dates are filled in correctly.

Viewing 1 reply thread

The support post ‘Unable to save a ticket for an 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