Bagisto Forum

    Bagisto

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

    setBagistoVite() Error

    General Discussion
    vite bagistovite
    4
    7
    388
    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.
    • T
      Tim last edited by

      Hello,
      I Would appreciate some assistance on this challenge I'm experiencing in bagisto.
      I keep getting this error:
      Next Illuminate\View\ViewException: Call to a member function setBagistoVite() on null (View: ..../packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) (View: .../packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) in .../packages/Webkul/Theme/src/Themes.php:279

      I get this despite not making any changes to the code. The installation was successful but this error popped up a few days after successful operation of the site.

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @Tim last edited by

        @Tim

        I hope you are doing great.

        Can you assist us with what all steps you followed in the installation and which branch or specific version you are installing.
        It would really be helpful for us as well. So that we can figure out and check the same from our end as well.

        Thanks
        Looking ahead for your reply.

        S 1 Reply Last reply Reply Quote 0
        • S
          saqib @ashish2409 last edited by

          @ashish2409 i am facing this issue also. what there error? i install bagisto with all steps following

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by

            Hello @saqib

            Did you install the node modules ( npm install ) if yes then after that Kindly run npm run dev in your root directory of Bagisto.

            Kindly check and let us know is everything working fine.

            Thanks & Regards

            S 1 Reply Last reply Reply Quote 0
            • S
              saqib @Rishabh-Webkul last edited by

              @Rishabh-Webkul said in setBagistoVite() Error:

              Did you install the node modules ( npm install )

              only this in root directory? or shop package also?

              S 1 Reply Last reply Reply Quote 0
              • S
                saqib @saqib last edited by

                @saqib said in setBagistoVite() Error:

                only this in root directory? or shop package also?

                any update?

                1 Reply Last reply Reply Quote 0
                • Rishabh-Webkul
                  Rishabh-Webkul last edited by Rishabh-Webkul

                  Hello @saqib

                  There is a blog and tutorial video of a custom theme in which we have done the vite setup. Kindly check this out for your reference.

                  Blog: https://bagisto.com/en/create-custom-theme-in-bagisto/

                  Video: https://www.youtube.com/watch?v=K3FdBDsXAH8&ab_channel=Bagisto

                  Thanks & Regards

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post