• Resolved sgeithman1ecos

    (@sgeithman1ecos)


    The connection to the Cloudflare API keeps randomly being disconnected somehow. I have to click the “TEST RESPONSE” button randomly to reconnect. Sometimes it will stay connected for days and sometimes just hours. This started happening a couple of months ago and I thought once I updated to the latest version of the plugin, the problem would be resolved. It is still happening in the current version 1.28.0.

    We are also receiving this warning a lot in our logs (not sure if it’s related but it seems like it):
    PHP Warning: Undefined array key "error_code" in /~path~/wp-content/plugins/simple-cloudflare-turnstile/inc/turnstile.php on line 232

    In v1.27.0 the same php warning was in our logs but on line 222 of the same file above …

    This section keeps randomly appearing (from the last section from this page:
    https://relywp.com/blog/how-to-add-cloudflare-turnstile-to-wordpress/

    “Finally, when you first start your “Site Key” or “Secret Key”, or update it, you will be required to test the API response, to make sure everything is working OK. Simply complete the Turnstile challenge, and click “TEST RESPONSE”.” (the image will not show up ?)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Elliot Sowersby

    (@elliotvs)

    Hi,

    This should now be fixed in the latest update.

    Thread Starter sgeithman1ecos

    (@sgeithman1ecos)

    Thank you, I see that you have fixed the PHP Warning: Undefined array key "error_code" part …

    Will this also resolve the random disconnect, and having to click the “TEST RESPONSE” button over and over again to keep the API connected?

    Thread Starter sgeithman1ecos

    (@sgeithman1ecos)

    This is NOT resolved … It just disconnected again and is now saying:

    Almost done…

    API keys have been updated. Please test the Turnstile API response below.
    Turnstile will not be added to any forms until the test is successfully complete.

    TEST RESPONSE

    Then after I click “TEST RESPONSE” it works fine again … but for how long? Why does it keep doing this? Sometimes it will stay connected for a couple of days and sometimes only hours … please help! I can’t keep monitoring this connection …

    The keys are not being changed, they are the same keys, I just click the button and it works again …

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

The topic ‘This plugin keeps randomly making me test the API response …’ is closed to new replies.