user image

Mohamed Atef
Published in : 2021-05-17

[SOLVED] No application encryption key has been specified.


“No application encryption key has been specified.”
I see this error above when I try to visit my website!? 
Can anyone help me?  

Thanks in advance


Joseph Morgan Date : 2021-05-17

Best answers


Best answers


Hello Mohamed, 
I see that this issue because your .env file is missing the application key, please run the command below so you can generate a new key

php artisan key:generate 


Mohamed Atef Date : 2021-12-17

Thank you

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 to check Laravel version?
Publish date: 2022-04-07 | Comments: 2
How can i pass data from blade template to vue component?
Publish date: 2022-02-11 | Comments: 1
[solved] All assets in laravel storage returns 404
Publish date: 2021-12-14 | Comments: 2