Support

Home Forums Event Espresso Premium Additional Attendees Payment BUG

Additional Attendees Payment BUG

Posted: July 11, 2012 at 7:28 am


mwilkinson

July 11, 2012 at 7:28 am

Hi,

There is a bug in Event Espresso when dealing with additional attendees and invoice payment.

In the pricing.php file from includes/functions/ directory on line 347:

$ice_row = $wpdb->get_row($wpdb->prepare(“select * from “.EVENTS_ATTENDEE_COST_TABLE.” inner join “.EVENTS_ATTENDEE_TABLE.” where registration_id = ‘%s'”,$registration_id));

there is a bug because the SQL doesn’t have the ON for INNER JOIN.

To fix it change it to this:

$ice_row = $wpdb->get_row($wpdb->prepare(“select * from “.EVENTS_ATTENDEE_COST_TABLE.” inner join “.EVENTS_ATTENDEE_TABLE.” on wp_events_attendee_cost.attendee_id = wp_events_attendee.id where registration_id = ‘%s'”,$registration_id));

  • This topic was modified 8 years, 6 months ago by  mwilkinson.


Seth Shoultes

  • Support Staff

July 11, 2012 at 7:33 am

Thanks for telling us about this. Just to make sure. Is this in Event Espresso v3.1.24.1.P?

The support post ‘Additional Attendees Payment BUG’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Seth Shoultes 8 years, 6 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!