ValidationError: Default BOM (item_name) must be active for this item or its template

Does anyone here know how to resolve this error. This error shows up when I try to do a bench migrate. I just recently pushed my codes to my remote repo and pulled it to a different server. After I git pull and do a bench migrate this error shows up. Can anyone help me?