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

安装完启动服务报错 #28

Closed
jianqiangsong opened this issue Sep 29, 2024 · 1 comment
Closed

安装完启动服务报错 #28

jianqiangsong opened this issue Sep 29, 2024 · 1 comment

Comments

@jianqiangsong
Copy link

jianqiangsong commented Sep 29, 2024

环境 :macos M1
PHP: php8.3
框架 :webman v1.5.19
workbunny/webman-rabbitmq 2.1.4

大概描述,配置文件命令行生成,消费者也是默认生成testBulider

启动webman 服务后报错如下
TypeError: Workbunny\WebmanRabbitMQ\Connection::Workbunny\WebmanRabbitMQ{closure}(): Argument #1 ($channel) must be of type Bunny\Channel, null given, called in /Users/songjianqiang/www/webman/vendor/react/promise/src/FulfilledPromise.php on line 28 and defined in /Users/songjianqiang/www/webman/vendor/workbunny/webman-rabbitmq/src/Connection.php:257

大概意思是channel 通道参数没有 null ? 没有看到配置文件哪里有定义 ,或者消费者能定义该属性?

@chaz6chez
Copy link
Member

是否使用workerman5.x?
能否提供复现的最小样例

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