WordPress报错:Warning: Cannot modify header information – headers already sent by

今天帮一位小伙伴解决了一个WordPress代码报错的问题,报错显示:Warning: Cannot modify header infor…