have you composer require predis/predis ?
Jul 14, 2019
4
Level 1
php artisan queue:restart | Call to undefined method Illuminate\Support\Facades\Redis::connect()
I'm getting this error when I run queue:restart command. I've installed phpredis extension correctly and it works well in my app. But only in this command I get this error
Call to undefined method Illuminate\Support\Facades\Redis::connect()
.env file:
CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_CONNECTION=redis
config/database.php:
...
'redis' => [
'client' => 'phpredis',
...
phpinfo():
Redis Support | enabled
----------------------|-----------------
Redis Version | 5.0.1
Available serializers | php, json
Please or to participate in this conversation.