« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: Cannot modify header information - headers already sent by (output started at /var/www/babyloc2/public_html/singercom/index.php:2) 
  Error type/ Nr.: Warning - 2 
  File: /var/www/babyloc2/public_html/singercom/manager/includes/document.parser.class.inc.php 
  Line: 514 
  Line 514 source: header('Content-Type: ' . $type . '; charset=' . $this->config['modx_charset']);  
 
Parser timing
  MySQL: 0.0117 s(1 Requests)
  PHP: 0.0303 s 
  Total: 0.0420 s