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

AlibabaCloud\Tea\Utils\Utils::isUnset(): Argument #1 ($value) cannot be passed by reference #208

Open
s454666-star opened this issue May 6, 2022 · 0 comments

Comments

@s454666-star
Copy link

Error

AlibabaCloud\Tea\Utils\Utils::isUnset(): Argument #1 ($value) cannot be passed by reference

at vendor/alibabacloud/darabonba-openapi/src/OpenApiClient.php:726
722▕ $_lastRequest = $_request;
723▕ $_response = Tea::send($_request, $_runtime);
724▕ if (Utils::is4xx($_response->statusCode) || Utils::is5xx($_response->statusCode)) {
725▕ $err = [];
➜ 726▕ if (!Utils::isUnset(@$_response->headers['content-type']) && Utils::equalString(@$_response->headers['content-type'], 'text/xml;charset=utf-8')) {
727▕ $_str = Utils::readAsString($_response->body);
728▕ $respMap = XML::parseXml($_str, null);
729▕ $err = Utils::assertAsMap(@$respMap['Error']);

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