« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: Function eregi_replace() is deprecated 
  Error type/ Nr.: - 8192 
  File: /assets/plugins/directresize/directResize.php 
  Line: 459 
  Line 459 source: $currentImgPath = eregi_replace("^.+src=('|\")","",$imgs[0][$n]);  
 
Parser timing
  MySQL: 0.0191 s(4 Requests)
  PHP: 0.2770 s 
  Total: 0.2961 s