Webdepot部署时出现错误Return type of xxx should either be compatible with SoapClient
WIBU
2024-04-28
当您在部署webdepot时,可能会遇到如下报错:
PHP Deprecated: Return type of LC_SoapClient::__doRequest($request, $location, $action, $version, $one_way = 0) should either be compatible with SoapClient::__doRequest(string $request, string $location, string $action, int $version, bool $oneWay = false): ?string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in xxxxxxxxxxxxxxxxxxx
这可能是由于您的PHP版本使用了 8.1 而非 当前webdepot 所要求的8.0版本