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.
If you have a multi-value field, the $field['value'] value may be an array in theme_search_api_page_result(). That results in a lovely "array to string conversion error" message.
The attached patch accounts for array values.
Comment | File | Size | Author |
---|---|---|---|
multi-value-field.patch | 751 bytes | Crell | |
Comments
Comment #1
drunken monkeyThanks for pointing this out! Your patch wasn't the right fix, but I got it to work myself.