« 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 /home/ofel/ofel.ru/docs/index.php:2) 
  Error type/ Nr.: Warning - 2 
  File: /home/ofel/ofel.ru/docs/manager/includes/document.parser.class.inc.php 
  Line: 529 
  Line 529 source: header('Content-Type: ' . $type . '; charset=' . $this->config['modx_charset']);  
 
Parser timing
  MySQL: 0.0024 s(0 Requests)
  PHP: 0.0460 s 
  Total: 0.0484 s