bagisto 1.4.5 its work well with Graphql when install LaravelMultiVendorMarketplace extension
show this error
Type of Webkul\GraphQLAPI\Cart::$cartRepository must not be defined (as in class Webkul\Checkout\Cart)
vendor\bagisto\graphql-api\src\Cart.php : 14
can you help me?
Can you please share the steps which you are following for installing?
When installed LaravelMultiVendorMarketplace without graphql, everything works fine.
The same steps as in the ReadMe file :
- Unzip the respective extension zip and then merge "packages" and "storage" folders into project root directory.
- Goto config/app.php file and add following line under 'providers'
- Goto composer.json file and add following line under 'psr-4'
- Run these commands below to complete the setup
composer require laravel/helpers
php artisan optimize
php artisan migrate
php artisan route:cache
php artisan db:seed --class=Webkul\\Marketplace\\Database\\Seeders\\DatabaseSeeder If your are windows user then run the below command- php artisan db:seed --class="Webkul\Marketplace\Database\Seeders\DatabaseSeeder"
php artisan vendor:publish --force
Something went wrong in the installation.
Please verify and follow the below installation process.
Marketplace installation Guide- https://webkul.com/blog/laravel-multi-vendor-marketplace/
GraphQL installation Guide:- https://github.com/bagisto/headless-ecommerce#bagisto-graphql-api
in the installation.
The problem is solved
After installation, we compared cart.php and cart.php befor instllation, we find protect variable not exist in the original(
We deleted it
The question is whether it affects other functionality of the site or not ?
Can you please let us the installed version of the LaravelMultiVendorMarketplace extension?