« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
  Error: Non-static method template::replace() should not be called statically, assuming $this from incompatible context 
  Error type/ Nr.: - 2048 
  File: /home/knitting/html/assets/snippets/ditto/formats/rss.format.inc.php 
  Line: 145 
  Line 145 source: $header = isset($header) ? $header : template::replace($rss_placeholders,$rss_header);  
Parser timing
  MySQL: 0.0004 s(2 Requests)
  PHP: 0.0020 s 
  Total: 0.0024 s 
Error while inserting event log into database.