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

Bagisto

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

ShowPriceAfterLogin: Composer dump-autoload failed

Bug Report
2
4
311
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.
  • R
    raj.g last edited by 7 Mar 2025, 06:23

    While setup the extension, the composer dump-autoload is failing with following error

    In Container.php line 1126:
    Target [Webkul\ShowPriceAfterLogin\Contracts\showPriceAfterLogin] is not instantiable while building [Webkul\ShowPriceAfterLogin\Providers\ShowPriceAfterLoginServiceProvider, Webkul\ShowPriceAfterLogin\ShowPriceAfterLogin].

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 7 Mar 2025, 12:40

      Hello @raj-g

      Did you register your module in app.php & composer.json kindly confirm ?

      Thanks & Best Regards

      R 1 Reply Last reply 11 Mar 2025, 03:32 Reply Quote 0
      • R
        raj.g @Rishabh-Webkul last edited by 11 Mar 2025, 03:32

        @Rishabh-Webkul
        Yes, I did registered it on App.php and Composer.json file.

        To Resolve that issue, I need to add following line on ShowPriceAfterLogin Provider

        $this->app->bind(ShowPriceAfterLoginContract::class, ShowPriceAfterLogin::class);
        
        1 Reply Last reply Reply Quote 0
        • Rishabh-Webkul
          Rishabh-Webkul last edited by 17 Mar 2025, 08:02

          Hello @raj-g

          So, is your issue resolved now?

          Kindly confirm

          Thanks & Regards

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