ERROR 2: get_class() expects parameter 1 to be object, integer given
0 Error occurred on in function get_class
1 called from line 589 of file DB.php in function isError
2 called from line 550 of file DB.php in function connect
3 called from line 94 of file functions.php in function check_db
4 called from line 653 of file session.php in function require_once
5 called from line 69 of file config.php in function require_once
6 called from line 28 of file index.php

Fatal error: Call to undefined function AddToLog() in /home/greystardotorg/moore.greystar.org/includes/functions.php on line 396