Err:MDB2 Error: connect failed

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/xyz216_01/www1/lib/util.inc:153) in /usr/home/xyz216_01/www1/lib/xyz.inc on line 187

Fatal error: Call to undefined method MDB2_Error::disconnect() in /usr/home/xyz216_01/www1/lib/database2.inc on line 255