Bagisto Forum

    Bagisto

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

    Repository does not exist

    Bug Report
    6
    12
    3154
    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.
    • S
      Shivam last edited by Shivam

      I have installed bagisto on my Ubuntu using CLI commands the installation was successful and I didn't got any issue while installation and I run command "php artisan serve" I get a successful run and get my localhost link with port which is http://127.0.0.1:8000/ and when I hit this URL in browser to see the out put I get the error "Class Webkul\Core\Repositories\SliderRepository does not exist" I dont understand what to do next please help!

      1 Reply Last reply Reply Quote 0
      • ghermans
        ghermans last edited by ghermans

        are you using the master branch from GitHub or the release zipfile?
        I just did a clean install with the following commands (I suppose you did this too)

        git clone https://github.com/bagisto/bagisto.git
        cd bagisto
        composer install
        artisan serve
        

        Once the installation procedure was completed i get the store
        alt text

        Kind regards,
        Glenn Hermans

        Manager Bagisto Europe
        info@bagisto.eu

        S 2 Replies Last reply Reply Quote 1
        • S
          Shivam @ghermans last edited by

          @ghermans Thanx for replying and no I used the commands which are given in Bagisto documentation from here https://devdocs.bagisto.com/index.html#installation I followed each step with CLI and GUI as well but the end result was same. Let me check it with your way. I hope it works.

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

            @ghermans Thank you for your help it worked! didn't got any slider or products though but got the store.

            1 Reply Last reply Reply Quote 0
            • B
              bzero last edited by

              i am getting same issue, although i tried to to install following two ways and different version 0.1.6 and 0.1.7 beta

              ReflectionException
              Class Webkul\Core\Repositories\SliderRepository does not exist
              Previous exceptions
              Declaration of Webkul\Core\Eloquent\Repository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = '*') (0)
              

              and

              // of resolutions and let reflection attempt to determine the result.
                          if ($this->hasParameterOverride($dependency)) {
                              $results[] = $this->getParameterOverride($dependency);
               
                              continue;
                          }
               
                          // If the class is null, it means the dependency is a string or some other
                          // primitive type which we can not resolve since it is not a class and
                          // we will just bomb out with an error since we have no-where to go.
                          $results[] = is_null($dependency->getClass())
                                          ? $this->resolvePrimitive($dependency)
                                          : $this->resolveClass($dependency);
                      }
               
                      return $results;
                  }
               
                  /**
                   * Determine if the given dependency has a parameter override.
                   *
                   * @param  \ReflectionParameter  $dependency
                   * @return bool
                   */
                  protected function hasParameterOverride($dependency)
                  {
                      return array_key_exists(
                          $dependency->name, $this->getLastParameterOverride()
                      );
                  }
               
              Arguments
              "Class Webkul\Core\Repositories\SliderRepository does not exist"
              
              1 Reply Last reply Reply Quote 0
              • B
                bzero last edited by

                i use master branch from git repo, and it's fixed the issue.

                1 Reply Last reply Reply Quote 1
                • A
                  artleminh last edited by artleminh

                  Does anyone solved this?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rahul last edited by

                    Hi @artleminh

                    Please use below step for installation.

                    Follow below step.

                    git clone https://github.com/bagisto/bagisto.git
                    

                    then

                    cd bagisto
                    
                    composer install
                    

                    then run migrate and seed. Rest of process will be same.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • J
                      jacks last edited by

                      Hi I got the issue after done everything which is mentioned above,

                      Class Webkul\Core\Repositories\SliderRepository does not exist
                      Previous exceptions
                      Declaration of Webkul\Core\Eloquent\Repository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = '*') (0)

                      1 Reply Last reply Reply Quote 0
                      • R
                        rahul last edited by

                        Hi @jacks

                        Paste this code on your composer.json file

                        {
                            "name": "bagisto/bagisto",
                            "description": "Bagisto Laravel ECommerce",
                            "keywords": [
                              "framework",
                              "laravel"
                            ],
                            "license": "MIT",
                            "type": "project",
                            "require": {
                              "php": "^7.1.3",
                              "ext-curl": "*",
                              "ext-intl": "*",
                              "ext-mbstring": "*",
                              "ext-openssl": "*",
                              "ext-pdo": "*",
                              "ext-pdo_mysql": "*",
                              "ext-tokenizer": "*",
                              "barryvdh/laravel-dompdf": "0.8.3",
                              "dimsav/laravel-translatable": "^9.0",
                              "doctrine/dbal": "2.9.2",
                              "fideloper/proxy": "^4.0",
                              "flynsarmy/db-blade-compiler": "*",
                              "guzzlehttp/guzzle": "~6.0",
                              "intervention/image": "^2.4",
                              "intervention/imagecache": "^2.3",
                              "kalnoy/nestedset": "^4.3",
                              "konekt/concord": "^1.2",
                              "laravel/framework": "5.6.*",
                              "laravel/tinker": "^1.0",
                              "maatwebsite/excel": "3.1.11",
                              "nwidart/laravel-modules": "^3.2",
                              "prettus/l5-repository": "2.6.32",
                              "tymon/jwt-auth": "1.0.0-rc.4"
                            },
                            "require-dev": {
                              "barryvdh/laravel-debugbar": "^3.1",
                              "filp/whoops": "^2.0",
                              "fzaninotto/faker": "^1.4",
                              "laravel/dusk": "^4.0",
                              "mockery/mockery": "^1.0",
                              "nunomaduro/collision": "^2.0",
                              "phpunit/phpunit": "^7.0"
                            },
                            "replace": {
                              "bagisto/laravel-user": "v0.1.0",
                              "bagisto/laravel-admin": "v0.1.0",
                              "bagisto/laravel-ui": "v0.1.0",
                              "bagisto/laravel-core": "v0.1.0",
                              "bagisto/laravel-attribute": "v0.1.0",
                              "bagisto/laravel-checkout": "v0.1.0",
                              "bagisto/laravel-customer": "v0.1.0",
                              "bagisto/laravel-inventory": "v0.1.0",
                              "bagisto/laravel-category": "v0.1.0",
                              "bagisto/laravel-product": "v0.1.0",
                              "bagisto/laravel-shop": "v0.1.0",
                              "bagisto/laravel-theme": "v0.1.0",
                              "bagisto/laravel-shipping": "v0.1.0",
                              "bagisto/laravel-payment": "v0.1.0",
                              "bagisto/laravel-sales": "v0.1.0",
                              "bagisto/laravel-tax": "v0.1.0",
                              "bagisto/laravel-api": "v0.1.0",
                              "bagisto/laravel-paypal": "v0.1.0",
                              "bagisto/laravel-discount": "v0.1.0"
                            },
                            "autoload": {
                              "classmap": [
                                "database/seeds",
                                "database/factories"
                              ],
                              "psr-4": {
                                "App\\": "app/",
                                "Webkul\\User\\": "packages/Webkul/User/src",
                                "Webkul\\Admin\\": "packages/Webkul/Admin/src",
                                "Webkul\\Ui\\": "packages/Webkul/Ui/src",
                                "Webkul\\Category\\": "packages/Webkul/Category/src",
                                "Webkul\\Checkout\\": "packages/Webkul/Checkout/src",
                                "Webkul\\Attribute\\": "packages/Webkul/Attribute/src",
                                "Webkul\\Shop\\": "packages/Webkul/Shop/src",
                                "Webkul\\Core\\": "packages/Webkul/Core/src",
                                "Webkul\\Customer\\": "packages/Webkul/Customer/src",
                                "Webkul\\Inventory\\": "packages/Webkul/Inventory/src",
                                "Webkul\\Product\\": "packages/Webkul/Product/src",
                                "Webkul\\Theme\\": "packages/Webkul/Theme/src",
                                "Webkul\\Shipping\\": "packages/Webkul/Shipping/src",
                                "Webkul\\Payment\\": "packages/Webkul/Payment/src",
                                "Webkul\\Paypal\\": "packages/Webkul/Paypal/src",
                                "Webkul\\Sales\\": "packages/Webkul/Sales/src",
                                "Webkul\\Tax\\": "packages/Webkul/Tax/src",
                                "Webkul\\API\\": "packages/Webkul/API",
                                "Webkul\\Discount\\": "packages/Webkul/Discount/src",
                                "Webkul\\CMS\\": "packages/Webkul/CMS/src"
                              }
                            },
                            "autoload-dev": {
                              "psr-4": {
                                "Tests\\": "tests/"
                              }
                            },
                            "extra": {
                              "laravel": {
                                "dont-discover": [
                                  "barryvdh/laravel-debugbar",
                                  "laravel/dusk"
                                ]
                              }
                            },
                            "scripts": {
                              "post-root-package-install": [
                                "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
                              ],
                              "post-create-project-cmd": [
                                "@php artisan key:generate"
                              ],
                              "post-autoload-dump": [
                                "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
                                "@php artisan package:discover"
                              ]
                            },
                            "config": {
                              "preferred-install": "stable",
                              "sort-packages": true,
                              "optimize-autoloader": true
                            },
                            "minimum-stability": "dev"
                          }
                        

                        delete your vendor folder and once again run 'composer install'

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • J
                          jacks last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • J
                            jacks last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post