• redswirl

    (@redswirl)


    Hi

    After updates today the form doesn’t send unless recaptcha is removed. From reading past posts this was fixed? Or is it still a problem? What should I do please? I have three forms on this site, site is live so it really needs to work please.

    Thanks
    Vernita

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Mostafa.rez

    (@mostafarez)

    hi.
    same problem
    this problem is from php 7.2 | 7.3. on php7 its okay. (i think)

    here the full error log

    #0 plugins/contact-form-7/modules/really-simple-captcha.php(62):

    wpcf7_generate_captcha(Array)
    ——————————————————–
    ——————————————————–
    #1 plugins/contact-form-7/includes/form-tags-manager.php(340):

    wpcf7_captchac_form_tag_handler(Object(WPCF7_FormTag))
    ——————————————————–
    ——————————————————–
    #2 plugins/contact-form-7/includes/form-tags-manager.php(269):

    WPCF7_FormTagsManager->scan_callback(Array, true)
    ——————————————————–
    ——————————————————–
    #3 [internal function]: WPCF7_FormTagsManager->replace_callback(Array)
    ——————————————————–
    ——————————————————–
    #4 plugins/contact-form-7/includes/form-tags-manager.php(186):

    preg_replace_callback(‘/(\\[?)\\[(accept…’, Array, ‘<p>\xD9\x86\xD8\xA7\xD9\x85 \xD8\xB4\xD9\x85\xD8…’)
    ——————————————————–
    ——————————————————–
    #5 plugins/contact-form-7/includes/form-tags-manager.php(168):

    WPCF7_FormTagsManager->scan(‘<p>\xD9\x in /home/foxgrcl/public_html/wp-content/plugins/contact-form-7/modules/really-simple-captcha.php on line 461
    ——————————————————–
    ——————————————————–

    Thread Starter redswirl

    (@redswirl)

    I thought upgrading to PHP 7.2 might help but it didn’t. Still the same problem. 7.3 is not available on my hosting yet.

    • This reply was modified 6 years ago by redswirl.
    Mostafa.rez

    (@mostafarez)

    @redswirl Change it to PHP 7.0 will fix the problem.

    i think the owner of the plugin when check this page try to fix that problem on php 7.2 and later.

    Neil Murray

    (@buzztone)

    @redswirl – CF7 5.1.+ updated to reCAPTCHA (v3).

    You may see an error with an orange border if you’ve:

    • previously used reCAPTCHA v2 with CF7
    • updated to CF7 5.1.1 or newer and
    • not changed your previous reCAPTCHA v2 keys to reCAPTCHA (v3) keys at Contact > Integration.

    P.S. You should ignore the advice from @mostafarez IMO – it’s almost certainly very specific to @mostafarez’s WP install & not applicable or helpful for you (& others reading this post).

    Neil Murray

    (@buzztone)

    @mostafarez – your advice is almost certainly very specific to your WP install IMO & not applicable or helpful for others.

    Thread Starter redswirl

    (@redswirl)

    @buzztone No that didn’t fix the problem. I deleted all instances of recaptcha and registered a new key for this site as V3 and it is still giving the same error:
    Failed to send your message. Please try later or contact the administrator by another method.

    More ideas please?

    Neil Murray

    (@buzztone)

    See Contact Form 7 5.1.1 – theme needs to properly loads JavaScript in the footer area of each page.

    Switch temporarily (nothing will be lost when you switch back) to a WP default theme to see if the problem goes away.

    If this fixes the problem & you can’t get your theme fixed, you might try using Contact Form 7 – reCaptcha v2 in addition to Contact Form 7. Once installed and configured it offers the same reCaptcha functionality you are used to in previous versions of Contact Form 7 (recommended by CF7 plugin author).

    If using default theme doesn’t stop the error, you could have a general WP email sending problem. See If You Have Email Problems – most people that work carefully through this list of email sending issues are able to solve their particular problems.

    wasanajones

    (@wasanajones)

    might sound stupid, but clear your caches…

    I was pulling my hair out and then boink everything working fine

    (php7.2, no change to recaptch v3 keys)

    Thread Starter redswirl

    (@redswirl)

    Thank you but, I’m not switching themes to test this. I use a rock solid theme called Generate Press. I now have the same problem on another site after doing updates. I think I will just switch to WP Forms.

    BTW — I see in post by @mostafarez that ‘really simple captcha’ plugin looks like it is being used. you no longer need that plugin

    https://contactform7.com/captcha/

    Thread Starter redswirl

    (@redswirl)

    @wasanajones No, I’ve never used that plugin.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘After Updates recaptcha breaks form’ is closed to new replies.