I am getting this error since I installed Zizaco\\Entrust on my Authentication Routes.
BadMethodCallException: This cache store does not sup
Just change .env
CACHE_DRIVER=file
To
CACHE_DRIVER=array
open .env
file and
change
CACHE_DRIVER=file to CACHE_DRIVER=array
Or add this line showing below
CACHE_DRIVER=array
After that go your command prompt or open the terminal then type
php artisan config:cache
Laravel file
and database
drivers don't support tags
.
What you need to update, to fix this issue is simply changing the cache driver from file to array in your .env
(located in root folder) file as below.
CACHE_DRIVER=array
Hope it helps!!
in your .env file change to cache array
CACHE_DRIVER=array
and dont forget to run
php artisan config:cache
My solution was to change in cache.php the following line from "file" to "array" as well:
'default' => env('CACHE_DRIVER', 'array')
Hope it helps!
In Your .env file change
CACHE_DRIVER=file
To
CACHE_DRIVER=array
Then run these commands
php artisan config:clear
php artisan config:cache
It will work