I just completed the upgrade to Moodle 2.0.3+ (Build: 20110616) and all the pages under Site Administration and every course but one so far gives me the "Error reading from database" message with nothing else on the page.
I am comfortable working directly with the database if need be and have been playing with it trying to track down the problem. Even changing each field of a broken course in the the mdl_course table to the same entries of the one that isn't broken doesn't get past the "Error reading from database" message.
I was able to turn debugging on in the database and I get this message now as well:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/train/sites/moodle.gprc.ab.ca/www/moodle/lib/navigationlib.php on line 1298
Any help would be greatly appreciated, as I am lost here.