Support » Plugin: WP Cerber Security, Anti-spam & Malware Scan » reCaptcha v2 Invisible

  • Resolved dalibor

    (@daliborpuljiz)


    When I try to simulate a new customer registration at the web page, reCaptcha returns “Error: Human verification failed.” I’m using v2 invisible reCaptcha keys. I’ve double and triple checked them by now. Google reCaptcha admin console returns “We detected that your site isn’t verifying reCAPTCHA solutions.”

    If I disable the reCaptcha options, the registration works.

    My hosting operator pointed me out to you, since they are not using any firewall rules regarding the matter. I also have some error log if you wish me to send it out somewhere?

    • This topic was modified 6 months ago by dalibor.
    • This topic was modified 6 months ago by dalibor.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gregory

    (@gioni)

    Hi! Please describe the page you use to register new users. It looks like you use a third-party registration form. WP Cerber supports reCAPTCHA on the standard WordPress registration form. No custom-made forms are supported.

    Thread Starter dalibor

    (@daliborpuljiz)

    It might appear so, but it’s still redirects to common wp-login.php in case of failure. There is this slight login customization form by White Label CMS plugin, if you think that this might get in a way? Since this plugin is not interacting with reCaptcha or anything in this matter, I didn’t think this might be the case…

    White Label CMS page: https://wordpress.org/plugins/white-label-cms/

    Plugin Author Gregory

    (@gioni)

    I think it will not work. The registration page must be based on wp-login.php. Meaning the URL of the registration page must start with /wp-login.php or a custom login URL if it’s configured in the WP Cerber settings. The easiest way to ensure that reCAPTCHA is supported on the form is to enable the visible version of reCAPTCHA and open the registration page. If you do not see the reCAPTCHA checkbox on the form, this form is not supported.

    Thread Starter dalibor

    (@daliborpuljiz)

    From what I read I may pretty much safely ditch reCaptcha in favor of WP Cerber own algorithms. So, I think I’ll proceed that way until some other occasion.

    Thank you very much for the support, appreciate it. 🙂

    • This reply was modified 5 months, 4 weeks ago by dalibor.
    Plugin Author Gregory

    (@gioni)

    Yes, that’s right. However, we can’t beat reCAPTCHA in some aspects yet. Also, make sure that WP Cerber anti-spam is compatible with the form and does not block legit users.

    Thread Starter dalibor

    (@daliborpuljiz)

    Well, apart from Elementor and White Label CMS I’m not using anything that deals with forms. Not even Contact Form 7 in most cases. That’s why I was surprised to see that reCaptcha option was not working along.

    Here is the excerpt from the error log btw:

    2021/12/27 14:25:20 [error] 15029#15029: *1139351 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ValueError: strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in ../wp-cerber/cerber-common.php:265
    Stack trace:
    #0 ../wp-cerber/cerber-common.php(265): strpos('', '/', 2)
    #1 ../wp-cerber/cerber-request.php(60): crb_parse_site_url()
    #2 ../wp-cerber/cerber-request.php(184): CRB_Request::parse_site_url()
    #3 ../wp-cerber/cerber-common.php(1013): CRB_Request::is_script('/wp-cron.php')
    #4 ../wp-cerber/nexus/cerber-nexus.php(47): cerber_is_wp_cron()
    #5 ../wp-cerber/cerber-load.php(109): nexus_init()
    ...
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.