entrust icon indicating copy to clipboard operation
entrust copied to clipboard

This cache store does not support tagging.

Open ghost opened this issue 8 years ago • 13 comments

I seem to get this in Laravel 5.2. Any ideas on how to fix this?

ghost avatar Mar 11 '16 11:03 ghost

use redis or memcached

kasougrey avatar Mar 11 '16 15:03 kasougrey

This is not a bug, file and database drivers do not support tags as documented in the official Laravel documentation. See https://laravel.com/docs/5.2/cache#cache-tags

Please close this issue.

bkuhl avatar Mar 12 '16 13:03 bkuhl

please modify .env set CACHE_DRIVER=array works to me

huangered avatar Apr 14 '16 12:04 huangered

when I set CACHE_DRIVER=array,JWT-Auth does't work

gamelife1314 avatar May 19 '16 02:05 gamelife1314

@gamelife1314 +1

diaafares avatar May 22 '16 09:05 diaafares

Was having this issue until I set both my CACHE_DRIVER and SESSION_DRIVER to redis.

MelonSmasher avatar Jun 16 '16 00:06 MelonSmasher

I have solved this issue in my fork of this package you could take a look at it

santigarcor avatar Jun 16 '16 02:06 santigarcor

Using the latest version and changing in .env CACHE_DRIVER=array and then executing php artisan config:cache worked for me!

kevuno avatar Aug 09 '16 06:08 kevuno

if you use DingoAPI,JWT set CACHE_DRIVER=array,JWT does't work . so i just set CACHE_DRIVER=redis then php artisan config:cache it works!

aireet avatar Aug 09 '16 08:08 aireet

Use version "dev-laravel-5" in your composer.json as in #422

omarjebari avatar Aug 22 '16 23:08 omarjebari

i installed memcached and it solved the problem

php artisan migrate:rollback
phpbrew use 5.6.16
apt-get install libmemcached-dev memcached
phpbrew extension install memcached
phpbrew fpm restart
php artisan config:cache

and change CACHE_DRIVER in /config/cache.php to memcached, than

php artisan migrate

ivanchenkoandriy avatar Aug 29 '16 11:08 ivanchenkoandriy

I have two questions:

  1. CACHE_DRIVER=array can not reduce performance ?
  2. Is there any way to provide default all permission for root user.(root user has no permissions in db, but it will give default all permission) ?

kabircse avatar Jan 07 '17 04:01 kabircse

thank @gamelife1314 it's good work for me !!!

PierreAlainKouakou avatar Jun 05 '18 17:06 PierreAlainKouakou