• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

bug when creating a product in update from v0.1.8 to v.1.0.0

Bug Report
bugs v.1.0.0
3
6
698
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    ehdava last edited by 17 Mar 2020, 07:51

    0559c99a-cbae-404c-a0bb-97f7601ef5fb-image.png

    after i create a product it shows this error, and i cant resolve this for 2 days

    could you help me resolve this?

    1 Reply Last reply Reply Quote 0
    • A
      aayush.bhatt172 last edited by 17 Mar 2020, 08:54

      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.

      Webkul\CatalogRule\Providers\CatalogRuleServiceProvider::class,
      Webkul\CartRule\Providers\CartRuleServiceProvider::class,
      Webkul\Rule\Providers\RuleServiceProvider::class,

      Step 6: Now Go to composer.json again in the root directory and add these under psr-4

      "Webkul\CatalogRule\":"packages/Webkul/CatalogRule/src",
      "Webkul\CartRule\":"packages/Webkul/CartRule/src",
      "Webkul\Rule\":"packages/Webkul/Rule/src",

      Step 7: Run php artisan vendor:publish --force
      Step 8: Run composer dump-autoload.

      E 2 Replies Last reply 17 Mar 2020, 09:14 Reply Quote 0
      • E
        ehdava @aayush.bhatt172 last edited by 17 Mar 2020, 09:07

        @aayush-bhatt172 yes i've already done that, and still throwing that error

        1 Reply Last reply Reply Quote 0
        • E
          ehdava @aayush.bhatt172 last edited by 17 Mar 2020, 09:14

          @aayush-bhatt172 said in bug when creating a product in update from v0.1.8 to v.1.0.0:

          Webkul\Discount\Providers\DiscountServiceProvider::class,

          if there's no product in database, its not throwing that error

          1 Reply Last reply Reply Quote 0
          • J
            Jyoti last edited by 17 Mar 2020, 09:40

            @ehdava
            It seem that your bagisto has not updated correctly, Please mention the steps that you have used to update.

            E 1 Reply Last reply 17 Mar 2020, 09:57 Reply Quote 0
            • E
              ehdava @Jyoti last edited by 17 Mar 2020, 09:57

              @Jyoti i'm following the step from here https://devdocs.bagisto.com/upgrade_to_latest_bagisto.html

              1 Reply Last reply Reply Quote 0
              2 out of 6
              • First post
                2/6
                Last post