« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysql_num_rows() expects parameter 1 to be resource, object given 
  Error type/ Nr.: Warning - 2 
  File: /home/z/zhnatalia/ooo-armo.ru/public_html/manager/includes/document.parser.class.inc.php 
  Line: 969 
  Line 969 source: $seclimit= mysql_num_rows($secrs);  
 
Parser timing
  MySQL: 0.0023 s(2 Requests)
  PHP: 0.0043 s 
  Total: 0.0066 s