According to AP Style, adviser is the correct spelling. But other sources such as Merriam-Webster list both advisor and adviser as equally correct. Just pick one and be consistent in your writing.