The correct answer is C. was advised.
The sentence is in the past tense, so the verb must also be in the past tense. The other options are not in the past tense.
A. is advised is in the present tense. B. has been advised is in the present perfect tense. D. had advised is in the past perfect tense.
The sentence is also about a single event, so the simple past tense is the most appropriate tense. The other options are either continuous or perfect tenses, which are used to talk about events that are ongoing or have been completed.
In conclusion, the correct answer is C. was advised.