Index: src/wp-includes/class-wp-site-query.php
===================================================================
--- src/wp-includes/class-wp-site-query.php	(revision 43976)
+++ src/wp-includes/class-wp-site-query.php	(working copy)
@@ -420,7 +420,7 @@
 
 		$number = absint( $this->query_vars['number'] );
 		$offset = absint( $this->query_vars['offset'] );
-
+		$limits = '';
 		if ( ! empty( $number ) ) {
 			if ( $offset ) {
 				$limits = 'LIMIT ' . $offset . ',' . $number;
@@ -570,7 +570,7 @@
 		}
 
 		$join = '';
-
+		$groupby = '';
 		if ( ! empty( $this->meta_query_clauses ) ) {
 			$join .= $this->meta_query_clauses['join'];
 
