Add [0] to fillable property to allow mass assignment on [App\Models\CsStudentSubject] code example Example: to fillable property to allow mass assignment on protected $fillable = ['title'];