是不是切换php版本会导致出错?
把php7.4(好像)换成了8.2,现在打不开了:
- Deprecated: Return type of Illuminate\Container\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/q.csgo.link/vendor/illuminate/container/Container.php on line 1271Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/container/Container.php on line 1282Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/container/Container.php on line 1294Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/container/Container.php on line 1307Deprecated: Return type of Illuminate\Config\Repository::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/q.csgo.link/vendor/illuminate/config/Repository.php on line 141Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/config/Repository.php on line 152Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/config/Repository.php on line 164Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/config/Repository.php on line 175Deprecated: Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/q.csgo.link/vendor/opis/closure/src/SerializableClosure.php on line 18Deprecated: Return type of Illuminate\Database\Eloquent\Model::offsetExists($offset) 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/q.csgo.link/vendor/illuminate/database/Eloquent/Model.php on line 1658Deprecated: Return type of Illuminate\Database\Eloquent\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/database/Eloquent/Model.php on line 1669Deprecated: Return type of Illuminate\Database\Eloquent\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/database/Eloquent/Model.php on line 1681Deprecated: Return type of Illuminate\Database\Eloquent\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/database/Eloquent/Model.php on line 1692Deprecated: Return type of Illuminate\Database\Eloquent\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/database/Eloquent/Model.php on line 1203Deprecated: Creation of dynamic property App\Listeners\Post\SaveLikesToDatabase::$userRepo is deprecated in /www/wwwroot/q.csgo.link/app/Listeners/Post/SaveLikesToDatabase.php on line 50Deprecated: Creation of dynamic property App\Listeners\Post\SaveLikesToDatabase::$events is deprecated in /www/wwwroot/q.csgo.link/app/Listeners/Post/SaveLikesToDatabase.php on line 58Deprecated: Return type of Illuminate\Support\Collection::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/q.csgo.link/vendor/illuminate/support/Collection.php on line 1349Deprecated: Return type of Illuminate\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Collection.php on line 1360Deprecated: Return type of Illuminate\Support\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Collection.php on line 1372Deprecated: Return type of Illuminate\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Collection.php on line 1387Deprecated: Return type of Illuminate\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Collection.php on line 1304Deprecated: Return type of Illuminate\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Collection.php on line 1294Deprecated: Return type of Illuminate\Support\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/support/Traits/EnumeratesValues.php on line 768Deprecated: Return type of Illuminate\Cache\Repository::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/q.csgo.link/vendor/illuminate/cache/Repository.php on line 577Deprecated: Return type of Illuminate\Cache\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php on line 588Deprecated: Return type of Illuminate\Cache\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php on line 600Deprecated: Return type of Illuminate\Cache\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php on line 611Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1238Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1247Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2456Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2581Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 2593Deprecated: Return type of Carbon\CarbonInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/CarbonInterface.php on line 3025Discuz Q! encountered a boot error (TypeError)thrown in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 927Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 97#0 /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(97): Carbon\Carbon::setLastErrors() #1 /www/wwwroot/q.csgo.link/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(251): Carbon\Carbon->__construct() #2 /www/wwwroot/q.csgo.link/vendor/illuminate/support/InteractsWithTime.php(62): Carbon\Carbon::now() #3 /www/wwwroot/q.csgo.link/vendor/illuminate/cache/FileStore.php(216): Illuminate\Cache\FileStore->currentTime() #4 /www/wwwroot/q.csgo.link/vendor/illuminate/cache/FileStore.php(58): Illuminate\Cache\FileStore->getPayload() #5 /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php(97): Illuminate\Cache\FileStore->get() #6 /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php(409): Illuminate\Cache\Repository->get() #7 /www/wwwroot/q.csgo.link/vendor/illuminate/cache/Repository.php(397): Illuminate\Cache\Repository->rememberForever() #8 /www/wwwroot/q.csgo.link/vendor/illuminate/support/Manager.php(166): Illuminate\Cache\Repository->sear() #9 /www/wwwroot/q.csgo.link/app/Settings/SettingsRepository.php(50): Illuminate\Support\Manager->__call() #10 /www/wwwroot/q.csgo.link/app/Settings/SettingsRepository.php(82): App\Settings\SettingsRepository->all() #11 /www/wwwroot/q.csgo.link/app/Providers/SettingsServiceProvider.php(53): App\Settings\SettingsRepository->tag() #12 /www/wwwroot/q.csgo.link/vendor/illuminate/container/BoundMethod.php(36): App\Providers\SettingsServiceProvider->boot() #13 /www/wwwroot/q.csgo.link/vendor/illuminate/container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #14 /www/wwwroot/q.csgo.link/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #15 /www/wwwroot/q.csgo.link/vendor/illuminate/container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod() #16 /www/wwwroot/q.csgo.link/vendor/illuminate/container/Container.php(596): Illuminate\Container\BoundMethod::call() #17 /www/wwwroot/q.csgo.link/vendor/discuz/core/src/Foundation/Application.php(523): Illuminate\Container\Container->call() #18 /www/wwwroot/q.csgo.link/vendor/discuz/core/src/Foundation/Application.php(495): Discuz\Foundation\Application->bootProvider() #19 [internal function]: Discuz\Foundation\Application->Discuz\Foundation\{closure}() #20 /www/wwwroot/q.csgo.link/vendor/discuz/core/src/Foundation/Application.php(494): array_walk() #21 /www/wwwroot/q.csgo.link/vendor/discuz/core/src/Foundation/SiteApp.php(96): Discuz\Foundation\Application->boot() #22 /www/wwwroot/q.csgo.link/vendor/discuz/core/src/Http/Server.php(41): Discuz\Foundation\SiteApp->siteBoot() #23 /www/wwwroot/q.csgo.link/public/index.php(29): Discuz\Http\Server->listen() #24 {main}