I've just tried to upgrade from laravel 5.8 to laravel 6.
(我刚刚尝试从laravel 5.8升级到laravel 6。)
Run composer update and got the following error in the console:
(运行composer update并在控制台中出现以下错误:)
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
SymfonyComponentDebugExceptionFatalThrowableError : Call to undefined method LaravelCashierCashier::useCurrency()
at C:wampwwwlaravelmy-projectappProvidersAppServiceProvider.php:34
30| Paginator::useBootstrapThree();
31|
32| Stripe::setApiKey(config('services.stripe.secret'));
33|
> 34| Cashier::useCurrency('gbp', '£');
What does this mean?
(这是什么意思?)
ask by adam78 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…