Since the latest EventOn update Nov 15, the RSVP add-on is having a problem sending emails.
When submitting the form I first saw in the Inspector a 500 error
VM2651:1 POST https://www.fl-elderlaw.com/wp-admin/admin-ajax.php 500
I turned on debugging and got the following
[17-Nov-2020 21:48:03 UTC] PHP Notice: Undefined index: author_id in /home/flelderlaw33/public_html/wp-content/plugins/eventON/includes/calendar/class-data-store.php on line 187
[17-Nov-2020 21:48:03 UTC] PHP Notice: Undefined property: EVORS_Event::$event in /home/flelderlaw33/public_html/wp-content/themes/bb-theme-child/eventon/templates/email/rsvp/confirmation_email.php on line 15
[17-Nov-2020 21:48:03 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_event_post() on null in /home/flelderlaw33/public_html/wp-content/themes/bb-theme-child/eventon/templates/email/rsvp/confirmation_email.php:16
Stack trace:
#0 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(222): include()
#1 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(153): evors_email->_get_email_body(Array, ‘confirmation_em…’)
#2 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(41): evors_email->get_email_data(Array, ‘confirmation’)
#3 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-event_rsvp.php(686): evors_email->send_email(Array, ‘confirmation’)
#4 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-ajax.php(300): EVORS_Event->save_new_rsvp(Array)
#5 /home/flelderlaw33/public_html/wp-includes/class-wp-hook.php(287): evorsvp_ajax->save_new_rsvp(”)
#6 /home/flelderlaw33/p in /home/flelderlaw33/public_html/wp-content/themes/bb-theme-child/eventon/templates/email/rsvp/confirmation_email.php on line 16
I’ve checked my custom template against the most recent confirmation_email.php template in the RSVP plugin and it is identical where it matters (only my styling changes being different)
Not sure how to trace the cause of this or what to do to fix
The form is at https://www.fl-elderlaw.com/events/financial-medical-legal-tips-you-must-know-to-help-your-family-and-friends-successfully-prepare-for-the-aging-process/
Really appreciate any help
Nov 17,2020 AT 3:20PM - 4 years ago -Hello,
The problem is in customized email notifications you can find in your theme folder/eventon/templates.
Please update/remove them and it should solve the issue.
I removed the custom email notifications, still the same problem only it references the confirmation_email.php in the plugin folder instead.
[18-Nov-2020 01:28:12 UTC] PHP Notice: Undefined index: author_id in /home/flelderlaw33/public_html/wp-content/plugins/eventON/includes/calendar/class-data-store.php on line 187 [18-Nov-2020 01:28:12 UTC] PHP Notice: Undefined property: EVORS_Event::$event in /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/templates/confirmation_email.php on line 15 [18-Nov-2020 01:28:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_event_post() on null in /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/templates/confirmation_email.php:16 Stack trace: #0 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(222): include() #1 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(153): evors_email->_get_email_body(Array, 'confirmation_em...') #2 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-emailing.php(41): evors_email->get_email_data(Array, 'confirmation') #3 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-event_rsvp.php(686): evors_email->send_email(Array, 'confirmation') #4 /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/includes/class-ajax.php(300): EVORS_Event->save_new_rsvp(Array) #5 /home/flelderlaw33/public_html/wp-includes/class-wp-hook.php(287): evorsvp_ajax->save_new_rsvp('') #6 /home/flelderlaw33/public_html/wp-includ in /home/flelderlaw33/public_html/wp-content/plugins/eventon-rsvp/templates/confirmation_email.php on line 16
OK update to this ticket, while looking for a previous version of EventOn Main Calendar plugin to roll back I saw that there was a 3.0.4 update available on the Envato Site. I installed it and now it is working again.
Not sure why the notice wasn’t shown as a plugin update in WP but at least we know what it was
Thanks for your time though
Perfect! If you have any further questions or concerns please create a new ticket.