Fixed: Call to a member function query() on a non-object in stats.inc.php on line 1462