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.

CommentFileSizeAuthor
#2 3284591-2.patch767 bytesL_VanDamme
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

L_VanDamme created an issue. See original summary.

L_VanDamme’s picture

FileSize
767 bytes
L_VanDamme’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.