Skip to content

No morph map defined for model [App\Models\User] #2148

Answered by ClemtM
ClemtM asked this question in Q&A

You must be logged in to vote

Ok I got it. The issue was because I used Relation::enforceMorphMap in the AppServiceProvider.

Maybe it will help to know that

Replies: 2 comments 6 replies

You must be logged in to vote
2 replies
@sergiuastechsoft

@Sjoerd24

Answer selected by ClemtM

You must be logged in to vote
4 replies
@angeljqv

@uyson

@angeljqv

@quyle92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants