Laravel cache store does not support tagging

前端 未结 10 581
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 04:24

I am getting this error since I installed Zizaco\\Entrust on my Authentication Routes.

BadMethodCallException: This cache store does not sup         


        
相关标签:
10条回答
  • 2020-12-15 04:33

    Just change .env

    CACHE_DRIVER=file

    To

    CACHE_DRIVER=array

    0 讨论(0)
  • 2020-12-15 04:34

    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
    
    0 讨论(0)
  • 2020-12-15 04:35

    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!!

    0 讨论(0)
  • 2020-12-15 04:38

    in your .env file change to cache array

    CACHE_DRIVER=array
    

    and dont forget to run

    php artisan config:cache
    
    0 讨论(0)
  • 2020-12-15 04:39

    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!

    0 讨论(0)
  • 2020-12-15 04:40

    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

    0 讨论(0)
提交回复
热议问题