·设为首页收藏本站📧邮箱修改🎁免费下载专区🔐设置/修改密码👽群雄群聊
返回列表 发布新帖

是不是切换php版本会导致出错?

82 2
发表于 2024-3-12 22:39:38 | 显示全部楼层 阅读模式

马上注册,免费下载更多dz插件网资源。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
把php7.4(好像)换成了8.2,现在打不开了:
  1. 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}
复制代码
我要说一句 收起回复

评论2

独家记忆Lv.8 发表于 2024-3-12 22:40:25 | 显示全部楼层
有的时候是插件不支持php8照成的
我要说一句 收起回复
TyCodingLv.8 发表于 2024-3-12 22:40:32 | 显示全部楼层
看版本有些是不支持8.2的
我要说一句 收起回复

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图

您的IP:18.218.38.125,42.81.98.61,GMT+8, 2024-4-28 01:44 , Processed in 0.186822 second(s), 74 queries , Gzip On, Redis On.

Based on Discuz! W1.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表