Events plus plugin broke my theme... Project pages displays a portfolio of projects submitted by use

I have this error displayed Fatal error: Call to a member function is_main_query() on a non-object in /home/aleeva3/galileomatchup.com/wp-includes/query.php on line 727
the file section is this:
function is_main_query() {
if ( 'pre_get_posts' === current_filter() ) {
$message = sprintf( __( 'In %1$s, use the %2$s method, not the %3$s function. See %4$s.' ),
'pre_get_posts', 'WP_Query::is_main_query()', 'is_main_query()', __( 'http://codex.wordpress.org/Function_Reference/is_main_query' ) );
_doing_it_wrong( __FUNCTION__, $message, '3.7' );
}

global $wp_query;
return $wp_query->is_main_query();
}

I never touched the code of query.php

Any ideas...

Regards

Alex