After clicking submit, nothing happens

SupportAfter clicking submit, nothing happens
digitalnow Staff asked 6 years ago
I've read previous commets about this and I've checked out the email field exists but still have the issue, regard I do have the same configuration on another WP site, and it is working fine there. Here the last log entries ------------ ERROR #16 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Message body empty"]}
ERRORS_DATA: {"wp_mail_failed":{"to":["antonio@digitalnow.com.mx"],"subject":"Cita: 16","message":"","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #16 END ---------- ------------ ERROR #15 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Message body empty"]}
ERRORS_DATA: {"wp_mail_failed":{"to":["antonio@digitalnow.com.mx"],"subject":"Cita: 15","message":"","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #15 END ---------- ------------ ERROR #14 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Message body empty"]}
ERRORS_DATA: {"wp_mail_failed":{"to":["antonio@digitalnow.com.mx"],"subject":"Cita: 14","message":"","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #14 END ---------- ------------ ERROR #13 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["Message body empty"]}
ERRORS_DATA: {"wp_mail_failed":{"to":["superantonioxp@gmail.com"],"subject":"Cita: 13","message":"","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #13 END ---------- ------------ ERROR #12 ------------
TYPE: MAIL
ERRORS: {"wp_mail_failed":["You must provide at least one recipient email address."]}
ERRORS_DATA: {"wp_mail_failed":{"to":[""],"subject":"Cita: 12","message":"","headers":[],"attachments":[],"phpmailer_exception_code":2}}
---------- ERROR #12 END ----------
3 Answers
Nikola Loncar Staff answered 6 years ago
Hi, looks like email template is empty? Have you added any value in those templates (EA Settings > Customize page?) Best regards, Nikola
digitalnow Staff replied 6 years ago

So, what do you recommend to do? maybe delete and reinstall ?

digitalnow Staff answered 6 years ago
Hola, thank you for answering. Yes, I do have the templates filled Outlook with at least one word. The only one was missing was the admin one. I write some word on it and now the email was sent but on the submit page still get frozen   And on the log page it saids \\\"you must provide at least one recipient email address. I do have an email field. and this is on the log   ------------ ERROR #17 ------------TYPE: MAILERRORS: {\"wp_mail_failed\":[\"You must provide at least one recipient email address.\"]}ERRORS_DATA: {\"wp_mail_failed\":{\"to\":[\"\"],\"subject\":\"Cita: 17\",\"message\":\"\",\"headers\":[],\"attachments\":[],\"phpmailer_exception_code\":2}}---------- ERROR #17 END ----------
digitalnow Staff answered 6 years ago
Hi, I decided to de activate all the site plugins just in case, and then activate again one by one to see someone could be causing the issue. Well, this worked. Now the appointment page is working and the emails are being sending correctly acord to the template. But on the Appointment (citas) sections no appointment appears, even I have received the confirmation emails. By inspecting the database on the `wp_ea_appointments' table, I fount out that the email,phone and name fields are set to null. On the wp_ea_meta_fields the fields slugs are name, phone, email.    
Nikola Loncar Staff replied 6 years ago

Looks like conflict with other plugin. Those values are not set in wp_ea_appointments table instead look into wp_ea_fields.

Best regards,
Nikola