amateescu / search_api_solr

11 stars 14 forks source link

Fatal error: Call to undefined method Drupal\search_api\Utility::getDataTypeInfo() in search_api_solr/src/Utility/Utility.php on line 50 #58

Closed ismaeil closed 9 years ago

ismaeil commented 9 years ago

Hi, With last codebase of search_api, defining an index of solr server (admin/config/search/search-api/add-index) would throw Fatal error: Call to undefined method Drupal\search_api\Utility::getDataTypeInfo() in search_api_solr/src/Utility/Utility.php on line 50

ismaeil commented 9 years ago

actually, it shoudl just be replaced with the new method from search_api : getDefaultDataTypes()

Berdir commented 9 years ago

That's not the same method, this method is now on the data type service and called getDataTypeDefinitions()