Contact form 7 not working on X sites

Hi friends,

So I’ve got contact form 7 running on pretty much all of my x sites and to my horror I found that 2 that I have tested are giving me the same error message. You can try it out on this page:

The message I’m getting is:
There was an error trying to send your message. Please try again later.

And I’m not sure what is up because this form as been working for like ever so now all of a sudden its not is really weird.

I know this could be a email thing or a smtp thing but I just want to make sure it’s not somthing that I’m doing with X or contact form 7 that is messing this up.

Thanks for help

There’s little a theme could do to cause this. Most often it is caused by your server not supporting PHP mail (which you should never use anyways).

You should always run an email plugin on a site, whether basic like SMTP (https://wordpress.org/plugins/post-smtp/) or transactional like Postman.

Install Post SMTP and set it up (send from email matching your domain is best), retest your forms. Does the error still happen?

Ok so I’ve started to figure out what is happening here. All the trouble stared after I installed recaptua v3 update for contact form 7. I’m still trouble shooting but it was working fine and now its not after the update, have you seen this anywhere else?

Yep Installed the plugin and the error is still going on. I sent a demo email from the plugin it’s self:

And it went through like a charm so now I’m 100% that the problem lies inside of the contact from 7 upgrade. I’m not sure if the v3 recpatua is doing anything extra to gum up the works but I do know that according to everything Ive seen and read on this it looks like the v3 recaptua interrogation is working correctly.

I am officially out of ideas for right now, open to any help you may have. Also just to re-ask have you seen this problem with other people when they have upgraded contact from 7?

Hi John,

We did not have requests regarding this problem. We are not the correct people to touch on the problem as we do not have the complete insight into the ins and outs of the Contact Form 7 plugin.

You already concluded this, but to make sure that this is something that is not related to our product, please kindly change the theme of the website temporarily from X to another theme and test the case. If the problem persists, you will make sure that this is not related to our product.

So, I suggest that you contact the Contact form 7 support and also if it is possible to downgrade the plugin to a working version at the moment.

Thank you.

I too have this problem, and looking on the contact form website it seems this may be a know issue on some templates.


The orange border indicates that a spammy attempt has been detected by a spam protection module like reCAPTCHA. Seeing the orange border every time is obviously abnormal unless you are a real spambot.

If you get into such situations after upgrading to 5.1.1, you are advised to ensure that the theme you use properly loads JavaScript in the footer area of each page.

We know some theme authors improperly omit wp_footer() call to block scripts from loading. That is one of the worst practices in theme development that will surely causes problems like those explained above. Ask the theme author for a fix if you find your theme has such issues.


This is taken from following page:

Theme.co - can you confirm this is the issue ?

Hi @markw1,

It should have no issues with our theme since wp_footer is present, it can’t be omitted since it’s part of Wordpress standard. The theme should strictly follow Wordpress standard. I recommend contacting the form author for the issue. And if they are looking for the place where wp_footer on our theme, then you can provide them this file path

For legacy
\framework\legacy\cranium\footers\views\global\_footer.php

For latest and builder
\framework\views\footer\base.php

Each theme has their own way of implementing the templates, there is no requirement where wp_footer should be placed, as long as the template hierarchy is correct and it all comes to /themes/theme-name/footer.php when executed, and that’s just as an example.

Wordpress also has function https://developer.wordpress.org/reference/functions/get_template_part/ that will allow you to place it anymore, but make sure to call it in the root footer template, which is again /themes/theme-name/footer.php. Our theme uses the same implementation but just wrapped by x_get_view function.

Thanks!

@Rad thanks, I thought that was the case - I fixed my issue in the end was due to change in SMTP settings.
On my hosting (Siteground) using plugin ‘Easy WP SMTP’ corrected the SMTP settings and now all working fine.

Glad to hear that. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.