user

Jo Micheal

8 Jan 2022

Uncaught Error: Missing required parameters: sitekey Laravel

Laravel

I am facing this error in the console & no Recaptcha is visible in the forms? what should I do?

Uncaught Error: Missing required parameters: sitekey

I am using Laravel with a package to generate the recaptcha box
Any thoughts?

 

Comments

Mohamed Atef

8 Jan 2022

Best Answer

best answer
githubgithubgithub

I had an error like this on my website but I realized that I had updated the .env and forget to add the site key back, you can go to Google recaptcha and go to the console and click on the settings icon then get the site key & secret key and add them in the .env like this 

RECAPTCHA_SITE_KEY=
RECAPTCHA_SECRET_KEY=

that's all 

Replies

Jo Micheal

8 Jan 2022

That's it, I am wondering how i missed this part :)
Anyway thank you for your help

© 2024 Copyrights reserved for web-brackets.com