Laravel cache store does not support tagging

前端 未结 10 582
被撕碎了的回忆
被撕碎了的回忆 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:46

    Use this command in your command prompt

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

    Cache tags are not supported when using the file or database cache drivers. The Entrust package probably uses them somewhere. You should be ok if you change it to array, memcache or apc for example.

    https://laravel.com/docs/5.2/cache#cache-tags

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

    Cache tags are not supported when using the file or database cache drivers. The Entrust package probably uses them somewhere.

    Open .env file set

     CACHE_DRIVER = array
     SESSION_DRIVER = file
    

    then make command in terminal

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

    If you continue having the issue, you should change your entrust version to

    dev-laravel-5
    
    0 讨论(0)
提交回复
热议问题