- Issue created by @alae.akalay
- Merge request !276Resolve #3542573: TypeError in SearchApiRow::render() if datasource does not support viewing items → (Merged) created by drunken monkey
If we use in our Drupal search custom datasources, those may have no view modes so in the line https://git.drupalcode.org/project/search_api/-/blob/8.x-1.38/src/Plugin... it will throw a TypeError: Cannot access offset of type string on string
Use a custom datasource within a Search view.
Ensure that the datasource config is an array to prevent the type error.
Active
1.38
General code