Она́ что-то шепну́ла ему́ на у́хо.
Она́ is nominative, all good.
ему́ = dative , на = prepositional or accusative [my guess] у́хо = nominative or accusative [my guess]
It seems to me that его should be the correct inflection to use here because у́хо is ultimately the main declension его must follow.
Am I missing something?