Contact 7 form stopped working & valid script to get it working again

This topic has 12 replies, 4 voices, and was last updated 4 days, 21 hours ago ago by Tony Rodriguez

  • Avatar: DebbieC
    DebbieC
    Participant
    January 18, 2026 at 12:10

    The contact form has recently stopped working which I’ve read is something to do with a configuration validator. It advises adding the following line to functions.php
    add_filter( ‘wpcf7_validate_configuration’, ‘__return_false’ );

    Can you let me know if this is correct and the exact format I have to enter within the functions file. I notice everything else in that file has a heading and brackets.

    Thanks, Debbie

    11 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 18, 2026 at 19:48

    Dear @DebbieC,

    Upon reviewing your question, we found the following article in their documentation: https://contactform7.com/configuration-validator-faq/. It confirms that you can use the mentioned filter to disable the validation of their scripts if necessary.

    Please note that we provide support only for our own projects. If you require further assistance with configuring the Contact Form 7 plugin, we recommend reaching out to their support forum at https://contactform7.com/support/, as their team is more familiar with the plugin’s code.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: DebbieC
    DebbieC
    Participant
    January 21, 2026 at 11:11

    Do you not have a contact form yourselves that I can use instead? I have added that filter to disable the validation of scripts but it isn’t working. Thanks, Debbie

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 21, 2026 at 14:47

    Hello @DebbieC,

    We recommend that you contact their support team, as the issue may be related to their plugin’s code. If you would like to use a different contact form, please send us a link to any demo from the list at https://xstore.8theme.com/ that includes the contact form you prefer, and we will be happy to share the corresponding code with you.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 21, 2026 at 14:47

    Hello, Debbie,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: DebbieC
    DebbieC
    Participant
    January 21, 2026 at 15:41

    Okay, thank you for your help. I attach the details for FTP & Site Admin.

    If I do need to use a different contact form as mentioned in your previous response, just a plain one like this one is perfect.

    https://xstore.8theme.com/elementor/demos/niche-market02/contact-us/

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 22, 2026 at 10:25

    Hello, DebbieC,

    Please contact your hosting provider and verify whether the wp_mail() and mail() functions are enabled, as well as whether the mail server is active on your hosting.

    Best regards,
    8Theme Team

    Avatar: DebbieC
    DebbieC
    Participant
    January 22, 2026 at 12:30

    Hi, I am told the wp_mail() and mail() functions are enabled on our servers by default. The mail server is active as I receive all my emails.

    Best wishes, Debbie

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 23, 2026 at 08:15

    Hello, DebbieC,

    We have corrected the issue. The problem was caused by the form settings, as the sender’s email address was set to a non-existent one.

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: DebbieC
    DebbieC
    Participant
    January 23, 2026 at 08:56

    That’s strange as I’ve never changed the form which used to work. Anyway, yes all seems to be working now. Thank you. Debbie

    Avatar: DebbieC
    DebbieC
    Participant
    January 23, 2026 at 08:56

    Thanks for the support! My topic “Contact 7 form stopped working & valid script to get it working again” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 23, 2026 at 08:56

    Dear DebbieC,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Contact 7 form stopped working & valid script to get it working again’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.