Fatal error: Array and string offset access syntax with curly braces is no longer supported in /www/wwwroot/www.kuaizhui.net/thinkphp/api.php(1) : eval()'d code on line 3

Fatal error: During inheritance of ArrayAccess: Uncaught think\exception\ErrorException: Return type of think\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Container.php:529 Stack trace: #0 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Container.php(48): think\Error::appError() #1 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Loader.php(411): include('...') #2 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Loader.php(132): think\__include_file() #3 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/exception/Handle.php(42): think\Loader::autoload() #4 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Error.php(51): think\exception\Handle->report() #5 /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Error.php(90): think\Error::appException() #6 [internal function]: think\Error::appShutdown() #7 {main} in /www/wwwroot/www.kuaizhui.net/thinkphp/library/think/Container.php on line 48