Support the ongoing development of Laravel.io →
Installation Configuration IOC

I've already have key generated in my .env file. This exception occures when i do refresh my web page like 20 30 times without stopping. Why is that happening ? Also got this error screen: http://prntscr.com/f3ehdr

production.ERROR: exception 'RuntimeException' with message 'The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.' in C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php:43
Stack trace:
#0 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(27): Illuminate\Encryption\Encrypter->__construct(NULL, 'AES-256-CBC')
#1 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(716): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array)
#2 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(598): Illuminate\Container\Container->build(Object(Closure))
#3 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(567): Illuminate\Container\Container->resolve('encrypter')
#4 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(708): Illuminate\Container\Container->make('encrypter')
#5 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(840): Illuminate\Foundation\Application->make('Illuminate\\Cont...')
#6 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(780): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#7 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(748): Illuminate\Container\Container->resolveDependencies(Array)
#8 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(598): Illuminate\Container\Container->build('App\\Http\\Middle...')
#9 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Container\Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Middle...')
#10 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(708): Illuminate\Container\Container->make('App\\Http\\Middle...')
#11 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(213): Illuminate\Foundation\Application->make('App\\Http\\Middle...')
#12 C:\xampp\htdocs\revamped\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(187): Illuminate\Foundation\Http\Kernel->terminateMiddleware(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response))
#13 C:\xampp\htdocs\revamped\public\index.php(58): Illuminate\Foundation\Http\Kernel->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response))
#14 {main}
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

xscence xscence Joined 22 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.