entrust: After upgrade to 1.5.0: Error on class 'Illuminate\Cache\FileStore' does not have a method 'tags'
I face to the error below after upgrade from 1.4.1 to 1.5.0
call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Cache\FileStore' does not have a method 'tags'
Root cause
Note: Cache tags are not supported when using the file or database cache drivers.
ref: http://laravel.com/docs/5.1/cache#cache-tags
Solution Change from
CACHE_DRIVER=file
to
CACHE_DRIVER=array
and I suggest to add into README
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 4
- Comments: 17 (3 by maintainers)
Commits related to this issue
- #422 Do not use unnessary tags for cache — committed to Garveens-Forks/entrust by garveen 9 years ago
- PR #422 from orig — committed to digivo/entrust by digivo 8 years ago
- #422 Do not use unnessary tags for cache — committed to Garveens-Forks/entrust by garveen 9 years ago
use “zizaco/entrust”: “dev-laravel-5” instead of “zizaco/entrust”: “5.2.x-dev”