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

Most upvoted comments

use “zizaco/entrust”: “dev-laravel-5” instead of “zizaco/entrust”: “5.2.x-dev”