Closed phongtnit closed 5 years ago
Hi @phongtnit, I have not seen that problem. Have you followed the Predis instructions here (https://laravel.com/docs/5.7/redis) ? It sounds like Predis is not installed correctly, or at least not recognized by Laravel.
Hi @phongtnit Your cache driver is redis, not predis. See here
Closing this due to inactivity. Please open a new issue with complete stack trace and other relevant information if it occurs again. Thanks :)
Describe the bug There is a error when I use the package. I install redis and laravel-model-caching package via
I also sets
MODEL_CACHE_STORE=redis
in .env file. After that, I used theGeneaLabs\LaravelModelCaching\Traits\Cachable
in my existing model.When I tried the access my controller, the above error happens. What I should to do to fix it?
Bug image
Eloquent Query Please provide the complete eloquent query that caused the bug, for example:
Environment