3

This Cache Store does not Support Tagging in Laravel

 1 year ago
source link: https://www.laravelcode.com/post/this-cache-store-does-not-support-tagging-in-laravel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

This Cache Store does not Support Tagging in Laravel

  12284 views

  2 years ago

Laravel

In this article, I will share with you a very common problem face in laravel application and it was This cache store that does not support tagging.

This error message mainly comes when you install Zizaco\Entrust a role-permission package in your laravel application and then again try to run your laravel application. then you getting this error message. but don't worry today i will provide you solution for this problem.

Solution :

Just, open you .env file and make changes like the following code.

MODEL_CACHE_STORE=array
BROADCAST_DRIVER=log
CACHE_DRIVER=array
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

Here, we changed CACHE_DRIVER values file to array because some time installed packages not supported CACHE_DRIVER as a file.

I hope you like this small article.

Author : Harsukh Makwana
Harsukh Makwana

Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK