[Laravel] Fix Error In EncryptionServiceProvider.php line 44: No application encryption key has been specified. - Mysharetechno

Mysharetechno

Blog ini berisi tentang review gadget, Tutorial, Games, Coding serta hal menarik lainya seputar Teknologi terbaru seputar Gadget

Post Top Ad

[Laravel] Fix Error In EncryptionServiceProvider.php line 44:  No application encryption key has been specified.

[Laravel] Fix Error In EncryptionServiceProvider.php line 44: No application encryption key has been specified.

Share This


In EncryptionServiceProvider.php line 44:
  No application encryption key has been specified.

Perbaikannya sebenarnya simpe :

1. Buka laravel project lain cari .env  -> APP_KEY silahkan backup dan cut satu baris tersebut pada laravel lain.

2. Buka CMD masuk ke directory laravel dan ketik kan - PHP ARTISAN KEY:GENERATE

 Kemudian copykan key yang berada di dalam kurung siku[] ke project kalian  yang APP_KEY nya error.

3. jangan lupa yang kembalikan key pada step 1

Done :)

Tidak ada komentar:

Posting Komentar

Post Bottom Ad