Google ReCaptcha service is not working

  • Application Version - e.g., OJS
    Our OJS google recaptcha service is not working for the last 2 months, so we disable it, but now the e mail services is also not working. we tried every step available on this forum and get hub.
    These are the configuration settings of Google recaptcha:
    ; Captcha Settings ;


; Whether or not to enable ReCaptcha
recaptcha = on

; Public key for reCaptcha (see
recaptcha_public_key = ********************************

; Private key for reCaptcha (see
recaptcha_private_key = ******************************

; Whether or not to use Captcha on user registration
captcha_on_register = on

and these are the e mail configuration:

; Use SMTP for sending mail instead of mail()
smtp = on

; SMTP server settings
smtp_server =
smtp_port = 465

; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
smtp_username =
smtp_password = ***********

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = on

Kindly help us in fixing this issue


Have you change your journal domain recently? Did you add the domain in the Dashboard of your google recaptach account?

Could you also confirm the public / secret keys are correct? Usually, Google Recaptcha it’s pretty straight forward to set.

Regarding your email service, have you checked your error log where you host your OJS? It will show any email error/attempt.


1 Like

Thank you israel.cefren for your kind reply,
We haven’t changed our domain since day first, the google recaptcha secret and public keys are correct, i just checked the error logs and its volume is 1.5 Gig, i cleared them all and was amazed to see that it generates about 20 errors per minutes some of them are repeating again and again like:
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/jmedscic/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Util/NumberHelper.php on line 115

I don’t know how to handle these huge amount of errors.

regarding the google recaptcha we are using the v2 check box with site key and secret key

Does the Google Recaptcha show up bellow your registering form?


1 Like

yes it is showed in the end of our registration form

: Register | Journal Of Medical Sciences