« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: htmlentities() [function.htmlentities]: Invalid multibyte sequence in argument 
  Error type/ Nr.: Warning - 2 
  File: /home/ccc/public_html/assets/snippets/wayfinder/wayfinder.inc.php 
  Line: 397 
  Line 397 source: $tempDocInfo['title'] = htmlentities($tempDocInfo[$this->_config['titleOfLinks']], ENT_COMPAT, 'UTF-8');  
 
Parser timing
  MySQL: 0.0241 s(2 Requests)
  PHP: 0.1433 s 
  Total: 0.1674 s