mpociot/teamwork

Class 'App\Team' not found

rxng opened this issue · 4 comments

rxng commented

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?

Do you have this problem only with teamwork related models?

composer dumpautoload

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

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