mpociot / teamwork

User to Team associations with invitation system for the Laravel 5 Framework
MIT License
1.07k stars 170 forks source link

Class 'App\Team' not found #136

Closed rxng closed 2 years ago

rxng commented 3 years ago

Follow the instructions and created the Team.php model file.

In Laravel 8, Models reside in their own folder, so this error occurs when 'team_model' => App\Team::class,

However, when I update it to App\Models\Team::class , it also doesn't work.

Why is Laravel not detecting the Team model?

okaufmann commented 3 years ago

Do you have this problem only with teamwork related models?

jhoanborges commented 2 years ago

composer dumpautoload

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.