bug when creating a product in update from v0.1.8 to v.1.0.0
after i create a product it shows this error, and i cant resolve this for 2 days
could you help me resolve this?
aayush.bhatt172 last edited by
What you have to do is:
Step 1: Go to config/app.php and look for
"Webkul\Discount\Providers\DiscountServiceProvider::class," under providers array.
Step 2: Remove it.
Step 3: Go to composer.json in the root directory and look for
"Webkul\Discount\": "packages/Webkul/Discount/src", under psr-4
Step 4: Remove it
Step 5: Again Go to config/app.php and add these under providers array.
Step 6: Now Go to composer.json again in the root directory and add these under psr-4
Step 7: Run php artisan vendor:publish --force
Step 8: Run composer dump-autoload.
@aayush-bhatt172 yes i've already done that, and still throwing that error
if there's no product in database, its not throwing that error
Jyoti last edited by
It seem that your bagisto has not updated correctly, Please mention the steps that you have used to update.
@Jyoti i'm following the step from here https://devdocs.bagisto.com/upgrade_to_latest_bagisto.html