entrust icon indicating copy to clipboard operation
entrust copied to clipboard

Any possibility to use cache other than array?

Open abbasharoon opened this issue 6 years ago • 3 comments

Hi,

Thanks for the nice package. I just stumbled upon this error:

BadMethodCallException {#1360
  #message: "This cache store does not support tagging."
  #code: 0
  #file: "/home/vagrant/code/backend/vendor/laravel/framework/src/Illuminate/Cache/Repository.php"
  #line: 419

Googling the error led me to few issues from 2016 on this repo with no definite answer but to change the cache driver to array. Some users suggested that updating to latest version solves the problem.

I am on version 5.2.x with Laravel 5.5.x . Am I missing anything or do you still require the cache to be an array?

And if that's so, is that production friendly?

Thanks

abbasharoon avatar Mar 27 '18 12:03 abbasharoon

I use Laravel 5.6. CACHE_DRIVER=file or CACHE_DRIVER=database (I use MySQL 5.7 database). I get the same error:

 BadMethodCallException: This cache store does not support tagging.

andrey-helldar avatar May 15 '18 12:05 andrey-helldar

This package seems to be not maintained anymore. I moved to Bouncer https://github.com/JosephSilber/bouncer Which has much nicer methods and wider suppprt for cache and mutli tenancy etc.

abbasharoon avatar May 15 '18 12:05 abbasharoon

@sherkhanz Thanks!

andrey-helldar avatar May 15 '18 12:05 andrey-helldar