This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
webman-console 命令行运行报错 #2
Labels
bug
Something isn't working
Comments
使用 webman 命令行 报错的 |
你的Redis配偶配置了没有? |
'default' => [ |
你下载个最新版本的webman试试,你这是部分文件没升级导致的 |
一样的 |
workerman/redis 只能运行在workerman的运行环境,所以在 |
@yzh52521 使用最新版本 v0.0.8 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PHP Fatal error: Uncaught Error: Call to a member function add() on null in /Users/yuanzhihai/Sites/local/webman/vendor/workerman/workerman/Connection/AsyncTcpConnection.php:213
Stack trace:
#0 /Users/yuanzhihai/Sites/local/webman/vendor/workerman/redis/src/Client.php(444): Workerman\Connection\AsyncTcpConnection->connect()
#1 /Users/yuanzhihai/Sites/local/webman/vendor/workerman/redis/src/Client.php(275): Workerman\Redis\Client->connect()
#2 /Users/yuanzhihai/Sites/local/webman/vendor/tinywan/casbin/src/Watcher/RedisWatcher.php(94): Workerman\Redis\Client->__construct('redis://127.0.0...')
#3 /Users/yuanzhihai/Sites/local/webman/vendor/tinywan/casbin/src/Watcher/RedisWatcher.php(40): Tinywan\Casbin\Watcher\RedisWatcher->createRedisClient(Array)
#4 /Users/yuanzhihai/Sites/local/webman/vendor/tinywan/casbin/src/Permission.php(73): Tinywan\Casbin\Watcher\RedisWatcher->__construct(Array)
#5 /Users/yuanzhihai/Sites/local/webman/support/bootstrap.php(77): Tinywan\Casbin\Permission::start(NULL)
#6 /Users/yuanzhihai/Sites/local/webman/webman(6): require_once('/Users/yuanzhih...')
#7 {main}
thrown in /Users/yuanzhihai/Sites/local/webman/vendor/workerman/workerman/Connection/AsyncTcpConnection.php on line 213
The text was updated successfully, but these errors were encountered: