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
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.
Support forum for Event Espresso 3 and Event Espresso 4.