Google recaptcha error

hello everyone i’m having problems with google recaptcha during new user registration. it has always worked, all of a sudden it started saying this.

i also tried to recreate google recaptcha.
the code was inserted directly into the tpl registration page since otherwise google recaptcha would not appear.

on other sites in ojs it works without problems.
i also tried the hidden version, same problem.
do you have any idea why it gives this error?

Hi @simgiallorosso, what version of OJS are you using, and what theme? Is your theme up-to-date (you can check in the plugin gallery if that is how you installed the theme plugin).

Is this error appearing but the recaptcha is not loading at all?

hello thanks for the reply. I also updated ojs to the latest version 3.4.0-7 but the google recaptcha still didn’t work.

I use the updated bootstrap3 and I inserted the recaptcha data not only in the confi.inc.php file but also directly in the code of the register.tpl page, otherwise the google recaptcha didn’t appear at the bottom of the registration page.

this thing had already been discussed many months ago with the various moderators because the bootstrap3 template didn’t automatically insert the recaptcha once the data was inserted in the config.inc.php file

at the moment I was forced to disable it from registration, and in fact a few fake users have already registered.

I have to find a solution, since it works without problems on 2 other sites with ojs that I manage, except this one.

the site in question is thiss](https://www.journalofgeoethics.eu/)s](https://www.journalofgeoethics.eu/)

Hi @simgiallorosso, you shouldn’t need to make any modifications to the bootstrap3 theme as the captcha on user registration is setup in that plugin, and I’ve confirmed in my local version of OJS 3.4 as well. Have you customized the bootstrap theme, and is it possible you don’t have the latest updates to the theme plugin? This is the template file where recaptcha is inserted on user registration.

In the plugin gallery in Website > Plugins > Plugin Gallery, does the bootstrap3 theme say “Up to date”?

thanks for your help. it tells me that I have to update it but if I click on upgrade then it tells me that it is already updated.
is this the latest version I have?

I download from github and update if necessary

when i click su upgrade appears this error

Plugin “bootstrap3” could not be deleted from the file system. This may be a permissions problem. Please make sure that the web server is able to write to the plugins directory (including subdirectories) but don’t forget to secure it again later.

on this old post of mine there is the solution I was given to make google recaptcha work, that’s why I inserted it in the register.tpl page

Hi @simgiallorosso can you try the following and see if it works for you:

If you receive a similar permissions error message, you may need to review the permissions of the plugins directory on your server.

incredible! it didn’t work because in the config.inc.php file the recaptcha key was written on the command with a capital letter instead of a lowercase one

recaptcha_public_key =

it was written

Recaptcha_public_key =