user image

Jo Micheal
Published in : 2022-01-08

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 Date : 2022-01-08

Best answers

46

Best answers

46

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 

Jo Micheal Date : 2022-01-08

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

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

Method Illuminate\Auth\RequestGuard::attempt does not exist.
Publish date: 2022-02-18 | Comments: 2
How can I validate recaptcha in Livewire class ??
Publish date: 2022-02-23 | Comments: 2
How to pass valiables to 404 error page in laravel?
Publish date: 2022-02-21 | Comments: 2
Laravel error 419 page expired
Publish date: 2021-04-10 | Comments: 2