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

Laravel Network is unreachable stream_socket_client 587
Publish date: 2022-02-16 | Comments: 4
[solved] All assets in laravel storage returns 404
Publish date: 2021-12-14 | Comments: 2
Laravel error 419 page expired
Publish date: 2021-04-10 | Comments: 2
laravel installation error with composer install
Publish date: 2022-02-23 | Comments: 2
[solved] Nginx 413 Request Entity Too Large - Laravel
Publish date: 2022-02-01 | Comments: 7