"Add [user_id] to fillable property to allow mass assignment on [App\\Usermembership]. code example Example: to fillable property to allow mass assignment on protected $fillable = ['title'];