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

5.1 无法读取配置,报错:Undefined index: app_path #51

Open
lindaoling opened this issue Mar 16, 2022 · 0 comments
Open

5.1 无法读取配置,报错:Undefined index: app_path #51

lindaoling opened this issue Mar 16, 2022 · 0 comments

Comments

@lindaoling
Copy link

系统:win10
PHP:7.2
版本:topthink/think-worker": "2.0.*
启动:php think worker
报错:Undefined index: app_path

vendor\topthink\think-worker\src\command\Worker.php 63 行 $this->config = config('worker'); 读取不到配置,导致 $worker->setAppPath($this->config['app_path']);报错

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