Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When using extra field types other then text to index textfields that are language dependent, the getSolrFieldNamesKeyedByLanguage function will still return arrays for them, this causes an "illegal offset type" error in search_api_solr_boosted_keyword_search_api_solr_query_alter().
Solution
Don't check on hardcoded types, but on whether the field data is an array or not.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3284591-2.patch | 767 bytes | L_VanDamme |
Comments
Comment #2
L_VanDamme CreditAttribution: L_VanDamme at Dropsolid commentedComment #3
L_VanDamme CreditAttribution: L_VanDamme at Dropsolid commented