Is it PhD advisor or adviser?

According to sources such as Merriam-Webster, you can use both PhD advisor and PhD adviser. They are both considered to be equally correct. A good rule of thumb is just to pick either advisor or adviser, and be consistent in your writing.