Error di hosting

apa ada yg pernah ngalamin error ini ketika upload project laravel ke hosting ?

(1/1) RuntimeException The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

padahal di local ok ok aja

avatar arifer
@arifer

1 Kontribusi 0 Poin

Diperbarui 4 tahun yang lalu

1 Jawaban:

sebelum di hosting, backup .env file, coba run php artisan key:generate lalu php artisan config:clear

<a href='https://github.com/laravel/framework/issues/9080'>referensi</a>

avatar driyan
@driyan

193 Kontribusi 109 Poin

Dipost 4 tahun yang lalu

Login untuk ikut Jawaban