« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: Function ereg() is deprecated 
  Error type/ Nr.: - 8192 
  File: /var/www/vhosts/stbedes.org.uk/httpdocs/manager/includes/tmplvars.format.inc.php 
  Line: 220 
  Line 220 source: if(strpos($value,'-')!==false && ereg($date_match, $value, $matches)) {  
 
Parser timing
  MySQL: 0.0063 s(9 Requests)
  PHP: 0.0252 s 
  Total: 0.0314 s