Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

First Setup - Str::slug error #96

Closed
yakupguvenc opened this issue Dec 23, 2019 · 2 comments
Closed

First Setup - Str::slug error #96

yakupguvenc opened this issue Dec 23, 2019 · 2 comments

Comments

@yakupguvenc
Copy link

yakupguvenc commented Dec 23, 2019

php artisan make:theme Default Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Illuminate\Support\Facades\Str' not found

77 | $slug = Str::slug($this->argument('slug'));

composer.json

"laravel/framework": "^6.2",

@thewebartisan7
Copy link
Contributor

I see the same, this https://github.com/caffeinated/themes/blob/master/src/Console/GenerateTheme.php#L6 should be:

use Illuminate\Support\Str;

see https://github.com/caffeinated/themes/pull/97/files

@yakupguvenc
Copy link
Author

thankx problem fixed :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants