December 18, 2015 at 6:10 am #554835
Just recently (Dec 2nd) we started experiencing a problem on our site using Enfold. I only discovered it last night. We have over 160 posts with a contact form on them, and the to-email address is unique for each of those posts. We had previously set up all these posts when we migrated from our old theme to Enfold. Each contact form was customized with the correct email address. Everything was fine.
As of Dec 2nd, the email address in these contact forms started breaking. We have started adding users to our WordPress installation, and assigning each post to the relevant user. Each member has one of these pages to advertise their services and provide a way to contact them. We started adding users and making them the author of their post, which of course means we have to ‘update’ their post. It looks like time we ‘Update’ a post it breaks the to-email of the contact form.
I can see in the DB wp_postmeta table that the broken contact forms have this in place of the valid email address:
When we open the contact form editor, we see the WP admin email address instead of the user’s email address. But that is only because the Enfold code is telling it to display the default email address if there is no email address there. In fact, not even the default email address is going into the database. In it’s place is this code above which is breaking the functionality of the contact form.
When I do a test through the contact form, it never arrives at the default email address. Also, when I change to the correct email address and ‘Save’ the changes to the contact form then ‘Update’ the post and check the contact form again, the changes have not been saved.
Details for logging in are in the private content.
I have also tested by turning off all plugins, refreshing a page, then editing to correct the email address in the contact form and clicking the Update button on the post. When I go back and check the email address in the contact form it is still showing the same problem. So still the changes are not being saved
December 18, 2015 at 7:12 am #554849
- This topic was modified 3 years, 12 months ago by mikehartrich. Reason: Adding information
Thanks a lot for your detailed report, we do appreciate it a lot.
We do know the issue that exists and we are fixing it.
We would appreciate your patience, while we take care of it
BasilisDecember 19, 2015 at 12:43 am #555268
Ok. Can you let me know when the fix has been released? Then I can update Enfold and test it then get to work changing all the 160 contact forms that will need to be fixed.
I just updated to the version released today and tested but that didn’t have this bug fix in it, because the problem persists.December 23, 2015 at 5:50 pm #557121
Enfold v3.4.7 is out and wondering if you still experience this issue?
Does the same issue occur when you activate a default WordPress theme instead? please let us know about your results.
AndyDecember 28, 2015 at 8:15 pm #557821
Yes, we are still experiencing the problem.
Activating the default theme is not just a simple matter of doing that and then going back to Enfold. When I do I have to waste time setting up sidebar widgets again because they disappear, not to mention that the entire live site will be messed up during the time I am doing that and testing. Also because the issue is with the Enfold Contact Form Widget, if I switch to the default theme I won’t be test the contact form widget, right?
That newest version did fix another issue we were having though :)
December 31, 2015 at 11:32 pm #558776
- This reply was modified 3 years, 11 months ago by mikehartrich.
Try disabling CloudFlare email protection and see if that fixes the issue.
JosueJanuary 6, 2016 at 3:12 am #560257January 6, 2016 at 11:32 am #560418January 14, 2016 at 8:34 pm #565757
Ok, opening this ticket again. We can change the email address now. But the contact form is not sending emails. It acts like it’s working, but we never get the email.
There is a usability issue with the send button as well. It often takes 2-3 tries before it actually registers the click and submits the form.
Cloudflare has been off since Jan 6. I am sure I had purged the cache at that time, but i just did it again in case. We have no local cache.January 15, 2016 at 12:11 pm #566062
Can you try point 2 of the following article?
JosueJanuary 15, 2016 at 9:19 pm #566320
I tried point 2 last night. No difference. However, I was getting emails from wordpress@ when I submitted through the comment form. So wordpress@ was able to send mail. But after implementing point 2, the Enfold contact form was still not sending.January 16, 2016 at 5:45 am #566446
A support person at our hosting company uploaded a PHPmailer script to the site to test if mail was able to be sent from the server. I tested it by sending to the two email addresses I have been using in my testing of the contact form. Both emails were received. So the host is not the problem. Mail can be sent from the server. The email recipients are not the problem, as both mails were received.January 16, 2016 at 1:05 pm #566522January 16, 2016 at 8:05 pm #566574
I just tried sending a couple of emails to different addresses from the page you created Josue and I haven’t received the emails.
It was weird yesterday I received one email from an Enfold contact form I had set up to test. it was an anomaly. Further testing without having changed anything and I did not get any more emails.January 17, 2016 at 1:05 am #566656
– Could you do a test with a gmail address (as recipient)?
– Also, can you check if you get the messages using this plugin?
JosueJanuary 17, 2016 at 1:32 am #566681
I believe I used my gmail address on a previous test. But I just did it again and will let you know if I get the email. Otherwise assume I didn’t.
I won’t be able to install that plugin until Monday.January 17, 2016 at 1:37 am #566684January 19, 2016 at 4:13 am #567558
I set up a gmail address as recipient and received the email. Then I set the form up with my main .info email address and received nothing. Set the form up with our support@ email as the recipient and have received nothing.January 19, 2016 at 6:34 am #567633
I have figured out that it’s the email validation option in the contact form that is causing the problem. Emails to .com addresses seem to work when validation is turned on now (after all these fixes above). But .com seems to be the only extension that gets validated properly.
When I turn the validation off and set it to ‘is not empty’ instead then I also receive emails to .net, .org, and .us domains. Even with validation turned off I do not receive emails to .info domains. I have not tested any other domains.
So maybe your email validation script needs to be updated?January 19, 2016 at 11:55 am #567771
That sounds like a very weird issue. I’ve made some tests (validation on/off) with an .at domain address (i currently don’t have any net, info, us available) and i did get the messages, it took some time though (10-12 min).
JosueJanuary 20, 2016 at 4:22 am #568350
It is a very weird issue. I just realized that even though it definitely helped to turn off the email validation in that we received to email addresses that we couldn’t before, that email validation is for the senders email address and the issue is with the recipients email address. So it doesn’t make sense, but I saw better results after I did that.
Is anyone else experiencing or reporting this issue?January 20, 2016 at 11:49 am #568533
No i haven’t so far. At this point i’d suggest you trying out a third-party contact form:
If it works as expected i can help you stylize it to match the Enfold form appareance.
JosueFebruary 8, 2016 at 5:52 pm #579787
Same problem for me.
.co.uk domain send address stopped working. It did work for sometime which is strange in its self. After reading this thread I tried a test changing the send email address to my gmail.com account. This worked fine. So now I have moved to using Contact Form 7 so my client can receives email to their sales @ .co.uk address.
ChrisFebruary 10, 2016 at 12:42 pm #581052
glad it’s working with contact form 7 for you. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
AndyMarch 21, 2016 at 10:20 am #601135
Thank you for your good tip
“Try disabling CloudFlare email protection and see if that fixes the issue.”
Always a pleasure when you stumble across a gem of a post that provides exactly what you were looking for.
BlueSkyMarch 21, 2016 at 11:46 pm #601596
You must be logged in to reply to this topic.