Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Install SluggableModel.php problem #63

Closed
greenlevel opened this issue Dec 31, 2017 · 1 comment
Closed

Install SluggableModel.php problem #63

greenlevel opened this issue Dec 31, 2017 · 1 comment

Comments

@greenlevel
Copy link

I am trying to install this cms but i get the following error when I am with the following step
$ php artisan db:seed after Seeding: CategoriesTableSeeder

In SluggableModel.php line 38:

Type error: Argument 1 passed to App\Base\SluggableModel::customizeSlugEngi
ne() must be an instance of App\Base\Slugify, instance of Cocur\Slugify\Slu
gify given, called in /home/vagrant/code/oz/vendor/cviebrock/eloquent-slugg
able/src/Services/SlugService.php on line 199

Please advice. Thank you

@ozdemirburak
Copy link
Owner

Sorry, that's my bad, please add the line below after the namespace declaration.

use Cocur\Slugify\Slugify;

ozdemirburak added a commit that referenced this issue Dec 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants