Error sending export of event attendess
-
Hi, my client website does not send the event attendees by email.
Changelog says that is fixed in 5.8.4, but it does not work.
After several debug tests, I saw that
/event-tickets/src/Tribe/Attendees.php
lost$email
var previous to executewp_mail
at line 933 and thrown an error.I changed from line 461 to:
// Modified from Carlos Longarela to avoid the problem that not send mail //if ( ! $should_send_email ) { // $status = $this->send_mail_list( $event_id, $email_address, $send_to, $status ); //} else { // // If status is true return a friendly message. // $status = esc_html__( 'Email sent successfully!', 'event-tickets' ); //} if ( $should_send_email ) { $status = $this->send_mail_list( $event_id, $email_address, $send_to, null ); }
And added in line 928 previous to
wp_mail
:// Added by Carlos Longarela to avoid the problem with missing email. if ( empty( $email ) ) { $email = get_option( 'admin_email' ); }
But it’s only a quick and temporary fix for my client website. Can you fix the problem to next version? Thanks in advance.
Disclaimer: To make the tests, I changed to the default 2024 Theme and disabled all plugins except those from Event Tickets, Event Tickets Plus and Event Calendar.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error sending export of event attendess’ is closed to new replies.