- π©πͺGermany thomaswalther Rhein-Main Area
Today I got this (Drupal 10.1.5 Search Api 8.x-1.30):
Workflow:
I install theme (for new node type), install module (with content for node type):
Now this is correct:
[warning] The field Rendered item (rendered_item) on index Default content index is missing view mode configuration for some datasources or bundles. Please review (and re-save) the field settings.
Then I do:
drush cex, drush cim, drush cr (workflow see https://www.drupal.org/project/search_api/issues/3393946 π Highlight excerpts in frontend only works with twig files with an initial activation of option excerpt_always Closed: works as designed )[success] Configuration successfully exported to sites/default/files/config_sync. sites/default/files/config_sync [notice] There are no changes to import. [warning] The field %field_label (rendered_item) on index Default content index is missing view mode configuration for some datasources or bundles. Please review (and re-save) the field settings. [success] Cache rebuild complete.
The string with %field_label was not solved with a value. Maybe no fallback?
- πΊπΈUnited States justclint
Thanks @SomebodySysop. Your suggestion worked. We were seeing this error in our logs which didnt have any links so for anyone else in the same situation, these are the 2 pages to save:
/admin/config/search/search-api/index/content/fields/edit/rendered
/admin/config/search/search-api/index/content/fields - πΊπΈUnited States jhuebsch
Thanks @SomebodySysop and @justclint. The TWO pages that had to be re-saved is what kept me up. I kept re-saving the "field settings" form not realizing I had to also save the "Fields" page form until I came across this issue.
- πͺπΈSpain uridrupal
For new people, you have to save again in
/admin/config/search/search-api/index/main_search_index/fields
/admin/config/search/search-api/index/main_search_index/fields/edit/rendered_itemAnd the error is gone if everything is configured properly, which was my case.