• Resolved Paddy Landau

    (@paddy-landau)


    I installed this plugin yesterday, and enabled Turnstile. The “Test Keys” button displays the message, “Keys Validated!”

    EDIT: I’m getting the same results when I use Google reCAPTCHA.

    I test this on an Guest profile in Chrome, so there no extensions, cache, cookies, etc. I also test it on my Android phone using a different IP address.

    On the website, the plugin usually displays the message (but, bizarrely, not always). When it does display the message, usually it doesn’t let me go past pressing the button. I can press the button repeatedly, and it just stays there. But, occasionally, it lets me go past.

    On the back end, my PHP error log file has received this message many times:

    [27-Nov-2024 10:27:04 UTC] PHP Warning:  Undefined array key "SERVER_ADDR" in /home/customer/www/[redacted]/public_html/wp-content/plugins/recaptcha-for-all/functions/functions.php on line 609

    Running phpinfo() shows that $_SERVER['SERVER_ADDR'] is defined.

    WordPress version 6.7.1
    PHP version 8.3.14

    I have no idea what to do about this. Please help.

    • This topic was modified 1 year, 6 months ago by Paddy Landau. Reason: More information

The topic ‘Undefined array key “SERVER_ADDR”, and erratic behaviour’ is closed to new replies.