diff --git a/plugins/views_plugin_query_default.inc b/plugins/views_plugin_query_default.inc
index b108366..a31a38b 100644
--- a/plugins/views_plugin_query_default.inc
+++ b/plugins/views_plugin_query_default.inc
@@ -1324,7 +1324,12 @@ class views_plugin_query_default extends views_plugin_query {
       $start = microtime(TRUE);
 
       if ($this->pager->use_count_query() || !empty($view->get_total_rows)) {
-        $this->pager->execute_count_query($count_query);
+        try {
+          $this->pager->execute_count_query($count_query);
+        }
+        catch (Exception $e) {
+          debug($e->getMessage());
+        }
       }
 
       // Let the pager modify the query to add limits.
