Closed flyinghail closed 2 years ago
没有修改完全,仍然出现报错
Fatal error: During inheritance of ArrayAccess: Uncaught [XSErrorException] ../../../../xs/sdk/php/lib/XS.php(718): Return type of XSDocument::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice(8192) in /xs/sdk/php/lib/XS.php on line 565
没有修改完全,仍然出现报错
Fatal error: During inheritance of ArrayAccess: Uncaught [XSErrorException] ../../../../xs/sdk/php/lib/XS.php(718): Return type of XSDocument::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice(8192) in /xs/sdk/php/lib/XS.php on line 565
已经修改: #140
PHP SDK 在 PHP 8.1 下会产生 Deprecated 报错,参考: