« 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: /var/www/onlinedatingconnect.com/public_html/manager/includes/document.parser.class.inc.php 
  Line: 2065 
  Line 2065 source: $limit= mysql_num_rows($rs);  
 
Parser timing
  MySQL: 0.0012 s(4 Requests)
  PHP: 0.0031 s 
  Total: 0.0043 s 
Error while inserting event log into database.