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

Fatal error #4

Closed
rentstack opened this issue Apr 15, 2021 · 0 comments
Closed

Fatal error #4

rentstack opened this issue Apr 15, 2021 · 0 comments

Comments

@rentstack
Copy link

when i register the workerman timer for getting redis key it work success, but if increasing the load to worker i got this error, any help please?

platform: Windows 10
php: 8.0.3
redis: 5.0

Fatal error: Uncaught Error: Call to undefined method Workerman\Connection\AsyncTcpConnection::status() in D:\server\domains\app\vendor\workerman\redis\src\Client.php:432
Stack trace:
#0 D:\server\domains\app\vendor\workerman\workerman\Events\Select.php(232): Workerman\Redis\Client->Workerman\Redis\{closure}()
#1 D:\server\domains\app\vendor\workerman\workerman\Events\Select.php(281): Workerman\Events\Select->tick()
#2 D:\server\domains\app\vendor\workerman\workerman\Worker.php(2430): Workerman\Events\Select->loop()
#3 D:\server\domains\app\vendor\workerman\workerman\Worker.php(1417): Workerman\Worker->run()
#4 D:\server\domains\app\vendor\workerman\workerman\Worker.php(1360): Workerman\Worker::forkWorkersForWindows()
#5 D:\server\domains\app\vendor\workerman\workerman\Worker.php(542): Workerman\Worker::forkWorkers()
#6 D:\server\domains\app\run.php(83): Workerman\Worker::runAll()
#7 {main}
  thrown in D:\server\domains\app\vendor\workerman\redis\src\Client.php on line 432
Worker process terminated with ERROR: E_ERROR "Uncaught Error: Call to undefined method Workerman\Connection\AsyncTcpConnection::status() in D:\server\domains\app\vendor\workerman\redis\src\Client.php:432
Stack trace:
#0 D:\server\domains\app\vendor\workerman\workerman\Events\Select.php(232): Workerman\Redis\Client->Workerman\Redis\{closure}()
#1 D:\server\domains\app\vendor\workerman\workerman\Events\Select.php(281): Workerman\Events\Select->tick()
#2 D:\server\domains\app\vendor\workerman\workerman\Worker.php(2430): Workerman\Events\Select->loop()
#3 D:\server\domains\app\vendor\workerman\workerman\Worker.php(1417): Workerman\Worker->run()
#4 D:\server\domains\app\vendor\workerman\workerman\Worker.php(1360): Workerman\Worker::forkWorkersForWindows()
#5 D:\server\domains\app\vendor\workerman\workerman\Worker.php(542): Workerman\Worker::forkWorkers()
#6 D:\server\domains\app\run.php(83): Workerman\Worker::runAll()
#7 {main}
  thrown in D:\server\domains\app\vendor\workerman\redis\src\Client.php on line 432"
@walkor walkor closed this as completed in 05ee302 Apr 16, 2021
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

1 participant