Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserSettingType not found #14

Open
harimgs opened this issue Mar 17, 2024 · 0 comments
Open

UserSettingType not found #14

harimgs opened this issue Mar 17, 2024 · 0 comments

Comments

@harimgs
Copy link

harimgs commented Mar 17, 2024

When I run

php artisan db:seed --class="\Joy\VoyagerCrm\Database\Seeders\VoyagerDatabaseSeeder" --force

I get this following error because there is no UserSettingType .
How do I Fix this?


Joy\VoyagerCrm\Database\Seeders\User\UserSettingsTableSeeder ............................................... RUNNING

   ErrorException

  Undefined array key "UserSettingType"

  at vendor\tcg\voyager\src\Voyager.php:80
     76▕     }
     77▕
     78▕     public function model($name)
     79▕     {
  ➜  80▕         return app($this->models[Str::studly($name)]);
     81▕     }
     82▕
     83▕     public function modelClass($name)
     84▕     {

  1   vendor\tcg\voyager\src\Voyager.php:80
      Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure}("Undefined array key "UserSettingType"", "C:\xampp8.2\htdocs\laravel\vendor\tcg\voyager\src\Voyager.php")

  2   vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:355
      TCG\Voyager\Voyager::model("UserSettingType")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant