Support

Home Forums Event Espresso Premium EE4: Problem adding tickets to event

EE4: Problem adding tickets to event

Posted: March 17, 2014 at 10:12 am

Viewing 3 reply threads


Andy

March 17, 2014 at 10:12 am

I have WP 3.8.1 and have installed EE4 (Version 4.1.9.1.reg) with no other plugins installed but get the following error messages in the event tickets and datetimes section:

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\event-espresso\caffeinated\admin\new\pricing\espresso_events_Pricing_Hooks.class.php on line 720

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\event-espresso\caffeinated\admin\new\pricing\espresso_events_Pricing_Hooks.class.php on line 662

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\event-espresso\caffeinated\admin\new\pricing\espresso_events_Pricing_Hooks.class.php on line 1027

If I then try and add a new ticket type and save the event I get the following error message:

Fatal error: Uncaught exception ‘EE_Error’ with message ‘Error inserting values 0,Free Admission,,2014-03-17 16:04:00,2014-03-24 00:00:00,0,-1,0,0,10,-1,,,0,1,,0 for columns TTM_ID,TKT_name,TKT_description,TKT_start_date,TKT_end_date,TKT_min,TKT_max,TKT_price,TKT_sold,TKT_qty,TKT_uses,TKT_taxable,TKT_is_default,TKT_order,TKT_row,TKT_deleted,TKT_parent, using data types %d,%s,%s,%s,%s,%d,%d,%f,%d,%d,%d,%d,%d,%d,%d,%d,%d, into table wp_esp_ticket. Error was Table ‘wp_esp_ticket’ doesn’t exist’ in \wp-content\plugins\event-espresso\core\db_models\EEM_Base.model.php:1227 Stack trace: #0 \wp-content\plugins\event-espresso\core\db_models\EEM_Base.model.php(1107): EEM_Base->_insert_into_specific_table(Object(EE_Primary_Table), Array, false) #1 \wp-content\plugins\event-espresso\core\db_classes\EE_Base_Class.class.php(949): EEM_Base->insert(Array, true) #2 \wp-content\plugins\event-espresso\caffeinated\admin\new\pricing\espresso_events_Pricing_Hooks in \wp-content\plugins\event-espresso\core\db_models\EEM_Base.model.php on line 1227


Lorenzo Orlando Caum

  • Support Staff

March 17, 2014 at 11:51 am

Hi Andy,

I’ve seen something similar to this when an install does not complete. Could you please try reinstalling through WP Plugins?

1) Login to your WordPress admin

2) Browse to Plugins and locate Event Espresso in the list

3) Deactivate and remove Event Espresso

4) Download a fresh copy from your Event Espresso account and upload and activate through WordPress Plugins

Let me know if this helps!


Lorenzo


Andy

March 17, 2014 at 12:56 pm

Thanks for the reply. I’ve tried removing the data and deleting the plugin and reinstalling but I’m still getting the same issue unfortunately.


Tony

  • Support Staff

March 18, 2014 at 4:22 am

Hi Andy,

Is this an update or a fresh install starting with 4.1.9.1?

I’d like to take a look if that possible? Is so could you provide temporary log-in details for both the wp-admin and FTP please.

Please send them using this form:

https://eventespresso.com/send-login-details/

Viewing 3 reply threads

The support post ‘EE4: Problem adding tickets to 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