PHP Fatal error: During inheritance of ArrayAccess: Uncaught think\exception\ErrorException: Return type of think\Request::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in F:\web\neilian\vendor\topthink\fr
Stack trace:
#0 F:\web\neilian\vendor\topthink\fr
#1 F:\web\neilian\vendor\composer\ClassLoader.php(571): include('...')
#2 F:\web\neilian\vendor\composer\ClassLoader.php(428): Composer\Autoload\includeFile()
#3 F:\web\neilian\app\Request.php(5): Composer\Autoload\ClassLoader->loadClass()
#4 F:\web\neilian\vendor\composer\ClassLoader.php(571): include('...')
#5 F:\web\neilian\vendor\composer\ClassLoader.php(428): Composer\Autoload\includeFile()
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#7 F:\web\neilian\vendor\topthink\fr
#8 F:\web\neilian\vendor\topthink\fr
#9 F:\web\neilian\vendor\topthink\fr
#10 F:\web\neilian\vendor\topthink\fr
#11 F:\web\neilian\vendor\topthink\fr
#12 [internal function]: think\Console->__construct()
#13 F:\web\neilian\vendor\topthink\fr
#14 F:\web\neilian\vendor\topthink\fr
#15 F:\web\neilian\vendor\topthink\fr
#16 F:\web\neilian\vendor\topthink\fr
#17 F:\web\neilian\think(10): think\Container->__get()
#18 {main} in F:\web\neilian\vendor\topthink\fr
PHP Fatal error: Uncaught think\exception\ErrorException: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in F:\web\neilian\vendor\topthink\fr
Stack trace:
#0 [internal function]: think\initializer\Error->appError()
#1 F:\web\neilian\vendor\topthink\fr
#2 F:\web\neilian\vendor\topthink\fr
#3 F:\web\neilian\vendor\topthink\fr
#4 F:\web\neilian\vendor\topthink\fr
#5 F:\web\neilian\vendor\topthink\fr
#6 F:\web\neilian\vendor\topthink\fr
#7 F:\web\neilian\vendor\topthink\fr
#8 [internal function]: think\initializer\Error->appShutdown()
#9 {main}
thrown in F:\web\neilian\vendor\topthink\fr

最佳答案
