No application encryption key has been specified

As the title suggests. Has anyone have this problem? I am wondering why this is occured. I have tried: php artisan clear php artisan optimize:clear php artisan filament:optimize-clear composer dump-autoload
2 Replies
Alexandre
Alexandre3mo ago
Hi, Do you have a value associated with APP_KEY in your .ENV file? If not, you can use the php artisan key:generate command to create it.
Rolland
RollandOP3mo ago
😄 I do have the APP_KEY value It only trigger this error when on local env. very weird. can anyone explain why this happening? is this a thing with filament?

Did you find this page helpful?