Data outputs to the page but I get a PHP Error

Error generated is…

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by
(output started at
/Applications/MAMP/htdocs/BDF1402/Framework/CodeIgniter/application/view
s/head.inc:25)

Filename: core/Common.php

Line Number: 442