互联网从业者的资讯社区
互联网从业者的资讯社区
下载 App 在 App 中打开
今日热议
升级过程中出现了下述报错,但是能成功进入3.1.1
升级后,当安装moment主题后,后台页面显示的版本会变更为3.0.0

Target class [laravellocalizationroutecache.cache] does not exist.

at vendor/laravel/framework/src/Illuminate/Container/Container.php:906
902▕
903▕ try {
904▕ $reflector = new ReflectionClass($concrete);
905▕ } catch (ReflectionException $e) {
➜ 906▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
907▕ }
908▕
909▕ // If the type is not instantiable, the developer is attempting to resolve
910▕ // an abstract type such as an Interface or Abstract Class and there is

+14 vendor frames

15 app/Helpers/CacheHelper.php:222
Illuminate\Support\Facades\Facade::__callStatic()

16 app/Console/Commands/UpgradeFresns.php:256
App\Helpers\CacheHelper::clearAllCache()
https://zhijieshequ.com/post/K4E3zY55
回复 律谷

未登录无法操作

评论
composer remove fresns/website-engine

把网站引擎卸载了再升级试试

https://zhijieshequ.com/comment/7MfUImwO
律谷 作者 : 可行。有问题也可以删除vendor目录和composer.lock,然后composer install,至少我遇到的问题都解决了。
共 1 条回复

上滑加载更多

服务条款 隐私政策 Cookie 使用条款

© 2024 知结社区 | Powered by Fresns

弗雷森斯(苏州)科技有限公司

苏ICP备2021027795号-3

增值电信业务经营许可证:苏B2-20210954

广播电视节目制作经营许可证:(苏)字第02601号

不良信息举报: jubao@fresns.cn