« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) 
  Error type/ Nr.: Warning - 2 
  File: /var/www/chicagocondodirectory/manager/includes/extenders/dbapi.mysql.class.inc.php 
  Line: 87 
  Line 87 source: if (!$this->conn = ($persist ? mysqli_connect("p:".$host, $uid, $pwd) : mysqli_connect($host, $uid, $pwd))) {  
 
Parser timing
  MySQL: 0.0000 s(0 Requests)
  PHP: 0.0009 s 
  Total: 0.0009 s 

( ! ) Warning: mysqli_escape_string() expects parameter 1 to be mysqli, null given in /var/www/chicagocondodirectory/manager/includes/document.parser.class.inc.php on line 1390
Call Stack
#TimeMemoryFunctionLocation
10.0000230096{main}( )../index.php:0
20.0006340344DocumentParser->executeParser( )../index.php:129
30.0006341152DBAPI->connect( )../document.parser.class.inc.php:1041
40.0006342104mysqli_connect ( )../dbapi.mysql.class.inc.php:87
50.0008350936DocumentParser->phpError( )../dbapi.mysql.class.inc.php:87
60.0009351944DocumentParser->messageQuit( )../document.parser.class.inc.php:2620
70.0010340584DocumentParser->logEvent( )../document.parser.class.inc.php:2733
80.0010340632mysqli_escape_string ( )../document.parser.class.inc.php:1390

( ! ) Warning: mysqli_escape_string() expects parameter 1 to be mysqli, null given in /var/www/chicagocondodirectory/manager/includes/document.parser.class.inc.php on line 1391
Call Stack
#TimeMemoryFunctionLocation
10.0000230096{main}( )../index.php:0
20.0006340344DocumentParser->executeParser( )../index.php:129
30.0006341152DBAPI->connect( )../document.parser.class.inc.php:1041
40.0006342104mysqli_connect ( )../dbapi.mysql.class.inc.php:87
50.0008350936DocumentParser->phpError( )../dbapi.mysql.class.inc.php:87
60.0009351944DocumentParser->messageQuit( )../document.parser.class.inc.php:2620
70.0010340584DocumentParser->logEvent( )../document.parser.class.inc.php:2733
80.0011340808mysqli_escape_string ( )../document.parser.class.inc.php:1391
Error while inserting event log into database.