diff --git a/search_api_solr.views.inc b/search_api_solr.views.inc
index e45df95..2f0c663 100644
--- a/search_api_solr.views.inc
+++ b/search_api_solr.views.inc
@@ -22,7 +22,7 @@ function _search_api_solr_views_data_alter(array &$data) {
       $server = NULL;
 
       try {
-        $server = $index->getServer();
+        $server = $index->getServerInstance();
       }
       catch (SearchApiException $e) {
         // Just ignore invalid servers and skip the index.
