Closed
Description
Describe the bug
Model caching works fine with phpredis as the client. But when I use Laravel scout to import data to its index it gives Redis not found error. When I disabled the Cachable trait the import works fine.
php artisan scout:import "App\Models"
Stack Trace
Class 'Redis' not found
at vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:74
Environment
- PHP: 7.4
- OS: Ubuntu 20.04
- Laravel: 7.25.0
- Model Caching: ^0.10.1