conedevelopment / bazar

Bazar is an e-commerce package for Laravel applications.
https://root.conedevelopment.com
MIT License
421 stars 56 forks source link

Argument 1 passed, installation problem #182

Closed bobitza closed 2 years ago

bobitza commented 2 years ago

Description:

I have problem when access url with /bazar, to se the index

Steps To Reproduce:

composer require laravel/breeze --dev

php artisan breeze:install

npm install npm run dev php artisan migrate

php artisan bazar:install --seed ( with some error )

php artisan bazar:publish --tag=bazar-assets

npm install && npm run dev

then go to url with /bazar end

Error: image

Argument 1 passed to Bazar\BazarServiceProvider::Bazar\{closure}() must be an instance of Bazar\Models\User, instance of App\Models\User given, called in D:\www\iqshop\vendor\laravel\framework\src\Illuminate\Auth\Access\Gate.php on line 536