Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact form Not Sending Emails #3680

Open
MojoJojo opened this issue Dec 28, 2018 · 5 comments
Open

Contact form Not Sending Emails #3680

MojoJojo opened this issue Dec 28, 2018 · 5 comments

Comments

@MojoJojo
Copy link

Hi,
I am busy setting up a new website that uses a theme that internally uses Unyson designer and extensions. I was able to setup a contact form with the required fields quite easily but I am not receiving any emails. The form submits fine without any error, but I don't receive any emails.
What I have tried so far:

  1. I'm using the wp-mail option and when I use "Test Connection" to verify email capabilities on SendGrid, I receive the test email without any problems.
  2. I've checked error logs for PHP and Wordpress but there are no errors reported.
  3. Tried creating different forms with different fields, but nothing works.

Screenshots:
screenshot 2018-12-28 at 22 24 00
screenshot 2018-12-28 at 22 21 13

How do I go about debugging the issue?

Your help will be greatly appreciated.

@MojoJojo
Copy link
Author

Another observation - the form is being submitted using a "GET" method..when I submit the form the URL changes to something like this:

https://www.dukstra.com/contacts?fwf=fw_form&_nonce_13634c0b729763666190afcbd0e933d8=f6f9fe5c3a&_wp_http_referer=%2Fcontacts%2F%3Ffwf%3Dfw_form%26_nonce_d41fb9b401c936a1fa78037dab863bb4%3Df6f9fe5c3a%26_wp_http_referer (trimmed for brevity).
Not sure if this is the expected behavior?

@yura-x
Copy link
Contributor

yura-x commented Jan 9, 2019

Hello!
Form element no longer passes KSES:
https://make.wordpress.org/core/2018/12/13/backwards-compatibility-breaks-in-5-0-1/

So if you have template overriding here: /framework-customizations/extensions/forms/extensions/contact-forms/views/form.php and it uses wp_kses function - it can break your form element markup now.

You can delete wp_kses function or remove form.php file and this should fix your problem.

Best regards!

@DonWilde
Copy link

I am having this exact same issue and I am not sure how to implement your fix @yura-x . Any chance you could explain in a little more detail of where to go to fix this problem?

@tekkenm2000
Copy link

/public_html/wp-content/themes/mytheme/framework-customizations/extensions/forms/extensions/contact-forms/views/form.php <-- removing form.php results in webpage not loading.
removing wp_kses results in form not loading..
Now What ?

@yura-x
Copy link
Contributor

yura-x commented Mar 27, 2019

@tekkenm2000 Can you provide a link to your page or at least post your form tag markup here? It must have several 'data' attributes to make form work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants