Open TheSaltwaterRoom opened 6 years ago
vbot/src/Foundation/ServiceProviders/CacheServiceProvider.php 里面的 return new RedisManager(array_get($config, 'client', 'predis'), $config); 这行改成 return new RedisManager(null, array_get($config, 'client', 'predis'), $config);
更新了最新的RedisManager导致的
@st7yws 你的RedisManager 是什么版本?
@Hanson
多了一个Application参数项
遇到了同样的问题
尝试指定 redis 5.4 的版本看看能否解决 @irooit @st7yws
遇到了同样的问题
遇到了同样的问题,所以怎么解决呢?
我照着2楼加了null,还是报错,报错变成了
vbot.ERROR: Argument 3 passed to Illuminate\Redis\RedisManager::__construct() must be of the type array, null given
redis装了
illuminate/redis v5.8.17 The Illuminate Redis package.
嗯 修改以后
vbot.ERROR: Argument 3 passed to Illuminate\Redis\RedisManager::__construct() must be of the type array, null given
vbot.ERROR: Too few arguments to function Illuminate\Redis\RedisManager::__construct(), 2 passed in /Applications/MAMP/htdocs/wwt/my-vbot/vendor/hanson/vbot/src/Foundation/ServiceProviders/CacheServiceProvider.php on line 31 and exactly 3 expected [] []