Lǎoshī dāngzhòng chìzé le nàgè fàncuò de xuésheng.
The teacher publicly reprimanded the student who made the mistake.
Tips
register
斥责 is more formal and severe than 批评 (to criticize). It implies public or authoritative condemnation with a strong tone. In written Chinese, it is often used to describe official censures or harsh verbal punishment.