Error logged when visiting standard WP login with captcha plugin installed

This topic contains 2 replies, has 3 voices, and was last updated by  Patrik 4 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #5821

    Andy
    Free User
    Post count: 46

    I have installed the ReCaptcha plugin and entered the keys etc.

    On visiting the standard WP login (not the UsersWP one) the following PHP error is logged:

    [14-Nov-2019 17:02:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘UsersWP_Recaptcha’ does not have a method ‘add_scripts’ in ..\wp-includes\class-wp-hook.php on line 288

    If I turn off the options to enable ReCaptcha on the WordPress Login Form and WordPress Registration Form the error goes away.

    Hard to tell if ReCaptcha v3 is actually working on the standard login form but the error suggests it is not providing a valid callback so I would guess not.

    #5828

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks Andy, the developers are looking into it.

    #5831

    Patrik
    Moderator
    Post count: 1971

    Hi,

    This is a warning and can be removed by disabling WP_DEBUG. We will take care of this in the next update of UWP reCaptcha add on.

    Regards,
    Patrik

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket