Closed topclaudy closed 4 years ago
I solved it like this
Open the file bagisto\packages\Webkul\DataFaker\src\Database\Seeders\ProductTableDataSeeder.php
And add this configuration in the factory create
['type' => 'configurable']
factory(\Webkul\Product\Models\Product::class, $count)->create([
'type' => 'configurable',
])->each(function ($product) {
It worked for me, okay.
@topclaudy This bug is resolved now, you could check with the latest master branch.
Thanks.
php artisan db:seed --class="Webkul\DataFaker\Database\Seeders\DatabaseSeeder"
results inCall to undefined method Webkul\Product\Models\Product::product()