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提示http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated #360

Open
indiboy opened this issue May 9, 2024 · 4 comments

Comments

@indiboy
Copy link

indiboy commented May 9, 2024

http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated

@indiboy
Copy link
Author

indiboy commented May 9, 2024

暂时修改了,解决了。
vendor
guzzlehttp
guzzle
src
Client.php

@overtrue
Copy link
Owner

哪个文件?

@indiboy
Copy link
Author

indiboy commented May 21, 2024

vendor->guzzlehttp->guzzle->src->Client.php
里面有个 http_build_query,把null改成'',好像是因为参数不能是null。忘记了

@overtrue
Copy link
Owner

可是,这是 guzzle 的代码不是这个包的代码哇

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