invalid Captcha code

Home Forums Bug Reporting invalid Captcha code

Tagged: 

This topic contains 3 replies, has 4 voices, and was last updated by  sourov amin 1 year, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8582

    Hi,
    Today I installed UMP 1.4 and integrated the ReCaptcha field in the registration form.
    When I hit the register button with the “I am not a robot” checkmark active, the form outputs the error message “invalid Captcha code”.
    Looks like UMP expects a string rather than just a checkmark. As Google no longer provides version 1.0 ReCaptchas, please amend UMP asap so that it works with the checkmark ReCaptcha.
    Thanks,
    Lukas

    #8590

    Khaled
    Keymaster

    Hello Lukas,

    Please use following codes to your functions.php

    
    add_filter('user_meta_recaptcha_request_method', function () {
        return 'SocketPost';
    });
    

    Thanks.

    #8857

    plittlefield
    Member

    This is also happening to me.

    Which functions.php file… yours or the main WP functions.php file?

    WP = 5.0.3
    UMP = 1.4.2

    #8858

    sourov amin
    Moderator

    Hello,

    Add codes to your theme’s function.php file.
    Also, you can put these in a custom plugin.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.