You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ErrorException : Trying to get property 'id' of non-object
at /Applications/MAMP/htdocs/survey-backend/vendor/bpocallaghan/titan/app/Models/Traits/UserRoles.php:61
57| public function attachRole($roleSlug)
58| {
59| // add dealer role to user
60| $role = Role::where('keyword', $roleSlug)->first();
Hi @rahulcoresolutions
Sorry about that, I am busy doing some big refactoring / writing unit tests, etc.
Can you try to run php artisan titan:db:seed before you do db:seed (So that it seed the roles, navigation from the titan package)
Errors on users table seeder:
Migrated: 2018_10_26_034432_alter_users_table (0.25 seconds)
Seeding: UsersTableSeeder
ErrorException : Trying to get property 'id' of non-object
at /Applications/MAMP/htdocs/survey-backend/vendor/bpocallaghan/titan/app/Models/Traits/UserRoles.php:61
57| public function attachRole($roleSlug)
58| {
59| // add dealer role to user
60| $role = Role::where('keyword', $roleSlug)->first();
The text was updated successfully, but these errors were encountered: