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

Undefined array key "output" #119

Open
VMFnet opened this issue May 14, 2024 · 0 comments
Open

Undefined array key "output" #119

VMFnet opened this issue May 14, 2024 · 0 comments

Comments

@VMFnet
Copy link

VMFnet commented May 14, 2024

While using econea/nusoap v0.9.17 under PHP 8.3, we encounter a lot of these warnings :

PHP Warning: Undefined array key "output" in /vendor/econea/nusoap/src/nusoap.php on line 4466
PHP Warning: Trying to access array offset on null in /vendor/econea/nusoap/src/nusoap.php on line 4466

It occurs in the parseRequest() method :

        // get/set custom response tag name
        $outputMessage = $this->wsdl->getOperationData($this->methodname)['output']['message'];

It seems that the ['output'] key of the array is not checked for existence before being accessed, therefore issuing these warnings.

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

No branches or pull requests

1 participant