Support » Plugin: Contact Form 7 » Forms are Still Returning Errors

  • I have switched to Captcha v3, but forms are still not submitting. The error message: “There was an error trying to send your message. Please try again later.”

    Even though it’s returning an error, submissions are going to the spam folder in Flamingo with name/email only and the rest of the form field data is not included.

    I have tried several possible fixes that have been offered on this forum (changed the threshold and added the text widget function) with no success.

    The site in question has multiple forms, including GiveWP donation forms. I have a number of other sites with the same error, but they only have one contact form and much less activity.

    This particular site is extremely active, especially at this time of year. I’d like to find a solution before abandoning CF7 altogether.

    Known pages with non-functional forms:
    https://hungryformusic.org/contact/
    https://hungryformusic.org/instruments/donate-an-instrument/
    https://hungryformusic.org/support-us/volunteer/

    Can anyone help with this? Thank you for any assistance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    I have tried several possible fixes that have been offered on this forum (changed the threshold and added the text widget function) with no success.

    What have you actually tried?

    Thread Starter Tangerine Web Works

    (@tangerinewebworks)

    added to controller.php:
    add_filter( ‘widget_text’, ‘wpcf7_widget_text_filter’, 9 );

    function wpcf7_widget_text_filter( $content ) {
    $pattern = ‘/\[[\r\n\t ]*contact-form(-7)?[\r\n\t ].*?\]/’;

    if ( ! preg_match( $pattern, $content ) ) {
    return $content;
    }

    $content = do_shortcode( $content );

    return $content;
    }

    added function using My Custom Functions plugin:
    add_filter( ‘wpcf7_recaptcha_verify_response’,
    function( $is_human, $response_body ) {
    $score = isset( $response_body[‘score’] ) ? $response_body[‘score’] : 0;
    $threshold = 0.1;
    $is_human = $threshold < $score;
    return $is_human;
    },
    10, 2
    );

    Deactivated and activated plugins with no change.
    Also removed NoCaptcha reCaptcha from WP login page and deleted previous keys.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    added function using My Custom Functions plugin:

    What is the My Custom Functions plugin?

    It seems that you’ve already replaced contact forms on the site with another plugin’s. If this issue has been resolved, please update the topic status to “resolved”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Forms are Still Returning Errors’ is closed to new replies.