Error on line 27

I got this error, "Fatal error: Call to a member function get() on a non-object in /public_html/wp-includes/query.php on line 27" when I installed it. Please let me know why and how to get rid of this.