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

51

Best answers

51

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

How can I validate recaptcha in Livewire class ??
Publish date: 2022-02-23 | Comments: 2
[solved] Nginx 413 Request Entity Too Large - Laravel
Publish date: 2022-02-01 | Comments: 7
[solved] Class "App\Exceptions\Client" not found
Publish date: 2022-02-09 | Comments: 2
laravel installation error with composer install
Publish date: 2022-02-23 | Comments: 2
Laravel clear cache files manually
Publish date: 2022-03-02 | Comments: 2