SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'refer' cannot be null