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

thinkphp8.1 多应用模式下 #[Inject] 报错 #3120

Open
wxlznb opened this issue Feb 19, 2025 · 1 comment
Open

thinkphp8.1 多应用模式下 #[Inject] 报错 #3120

wxlznb opened this issue Feb 19, 2025 · 1 comment
Labels

Comments

@wxlznb
Copy link

wxlznb commented Feb 19, 2025

所属功能组件

注解

ThinkPHP 版本

8.1.2

操作系统

windows

错误信息

Typed property app\internal\controller\TestController::$service must not be accessed before initialization

Image

其它说明

No response

@wxlznb wxlznb added the bug label Feb 19, 2025
@wxlznb
Copy link
Author

wxlznb commented Feb 19, 2025

8.0.4 还是正常的,更新到8.1之后就不行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant