Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis_pool sAddArray出错 #47

Closed
GreatSir opened this issue Apr 17, 2018 · 2 comments
Closed

redis_pool sAddArray出错 #47

GreatSir opened this issue Apr 17, 2018 · 2 comments

Comments

@GreatSir
Copy link

GreatSir commented Apr 17, 2018

版本3.1.10 swoole版本2.1.2
PHP Fatal error: Uncaught Whoops\Exception\ErrorException: Array to string conversion in /data/sd/vendor/tmtbe/swooledistributed/src/Server/Asyn/Redis/RedisAsynPool.php:359
Stack trace:
#0 [internal function]: Server\SwooleServer->displayErrorHandler(8, 'Array to string...', '/data/sd/vendor...', 359, Array)
#1 /data/sd/vendor/tmtbe/swooledistributed/src/Server/Asyn/Redis/RedisAsynPool.php(359): Swoole\Redis->__call('sAddArray', Array)
#2 /data/sd/vendor/tmtbe/swooledistributed/src/Server/Asyn/AsynPool.php(157): Server\Asyn\Redis\RedisAsynPool->execute(Array)
#3 /data/sd/vendor/tmtbe/swooledistributed/src/Server/Asyn/Redis/RedisAsynPool.php(389): Server\Asyn\AsynPool->pushToPool(Object(Swoole\Redis))
#4 [internal function]: Server\Asyn\Redis\RedisAsynPool->Server\Asyn\Redis{closure}(Object(Swoole\Redis), 'OK')
#5 /data/sd/vendor/tmtbe/swooledistributed/src/Server/Coroutine/CoroutineBase.php(131): Swoole\Coroutine\Channel::select(Array, NULL, 5)
#6 /data/sd/vendor/tmtbe/swooledistributed/src/Server/Coroutine/CoroutineBase.php in /data/sd/vendor/tmtbe/swooledistributed/src/Server/Asyn/Redis/RedisAsynPool.php on line 359

@tmtbe
Copy link
Collaborator

tmtbe commented May 13, 2018

好的,新版本已修复了吧

@tmtbe
Copy link
Collaborator

tmtbe commented May 15, 2018

看了下redis并没有sAddArray这个命令,直接用sAdd

@tmtbe tmtbe closed this as completed May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants