advise (one) against (something)
To make a recommendation to one to not pursue a particular plan or action. She advised him against taking out another mortgage on the house. The professor advised his students against skipping class if they wanted a passing grade at the end of the semester.
advise against (something)
To recommend not pursuing a particular plan or action. I would advise against quitting your job if you are not actively pursuing another opportunity. My mechanic advised against driving the car until the transmission was repaired.
advise someone against doing something
to encourage or counsel someone not to do something. I advised Bill against quitting his job.