律谷
作者
: 可行。有问题也可以删除vendor目录和composer.lock,然后composer install,至少我遇到的问题都解决了。
共
1
条回复
升级过程中出现了下述报错,但是能成功进入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()
升级后,当安装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()