Issue #3332244 - TypeError getNoPreferredIndexError() argument type error
requested to merge issue/acquia_connector-3332244:3332244-typeerror-getnopreferredindexerror-argument into 7.x-4.x
When local credentials are not, an object of class AcquiaSearchSolrApi with empty properties will be created in getFromSettings(). So $preferred_index will be empty. This will cause a false alarm of AcquiaSearchSolrMessages::getNoPreferredIndexError($preferred_core_service->getAvailableCoreIds()).
Edited by Alena Stanul