وَإِنْ صَلَّى الْوَلِيُّ: لَمْ يَجُزْ لِأَحَدٍ أَنْ يُصَلِّيَ بَعْدَهُ.
Translation: If the guardian has led the funeral prayer, no one may pray it again afterward.
This rule restricts repetition once the guardian has performed the prayer. It must be read together with the earlier exception allowing the guardian to repeat in a particular case.
The difference is not contradictory: the outcome depends on who led the earlier prayer.