Estou com problemas para acessar a pagina, assim que rodo o comando 'php artisan serve' aparece a seguinte mensagem de erro.
RuntimeException in EncryptionServiceProvider.php line 45: No supported encrypter found. The cipher and / or key length are invalid.
Porém já executei o comando php artisan key:generate e o coloquei no 'key' do arquivo config/app.
Como devo proceder?
config/app. / |-------------------------------------------------------------------------- | Encryption Key |-------------------------------------------------------------------------- | | This key is used by the Illuminate encrypter service and should be set | to a random, 32 character string, otherwise these encrypted strings | will not be safe. Please do this before deploying an application! | /
'key' => 'A3+S2u51EjqOPzgArIJtNL+umy+j9/cEyZ1tnUUyR0U=',
'cipher' => 'AES-256-CBC',
Como está configurado meu arquivo .env
APP_ENV=local APP_DEBUG=false APP_URL=http://localhost
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=carpooling DB_USERNAME=root DB_PASSWORD=
CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync
MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null