• I have a wordpress website installed on a subdomain. I have tried everything but the reCAPTCHA keeps giving this error:
    ERROR for site owner: Invalid site key
    Contact form Version 5.4
    wordpress version 5.7
    The reCAPTCHA is registered with the main domain name (as google doesn’t allow registering subdomains) and it is working fine on the main domain.
    I have tried using v2 still same problem, I even tried installing other plugins that might help solve this problem like invisible reCAPTCHA still no use.

    Kindly advise.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website where you have installed WordPress on a subdomain?

    Thread Starter hendwpacc

    (@hendwpacc)

    This is the link to the website
    https://eg.mansop.com/
    (kindly check the Register button on the top right corner)

    I have tried to replace the code that retrieves the site key in the code with the real site key, it looks like this:
    <?php if ( WP_RealEstate_Recaptcha::is_recaptcha_enabled() ) { ?>
    <div id=”recaptcha-contact-form” class=”ga-recaptcha” data-sitekey=”6LdcHnkoplkioll_bGr5jvEYBOeJZllG72xw7XzT7″></div>
    <?php } ?>
    the error “ERROR for site owner: Invalid site key” disappeared but when I try to register a new user it gives this message “Captcha is not valid”

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter hendwpacc

    (@hendwpacc)

    wp realestate
    wpml
    yaost seo
    revolution slider
    mail chimp
    elementor
    apus framework
    contact form 7
    wp private message
    woocommerce

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7, Elementor, WooCommerce, and Yoast SEO.

    Why you are advised to deactivate plugins and switch to the default theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘reCAPTCHA v3: ERROR for site owner: Invalid site key’ is closed to new replies.