setErrorByName was moved to form_state