backdrop-contrib / search_api

Provides a generic API for modules offering search capabilities
GNU General Public License v2.0
0 stars 5 forks source link

Undefined function entity_view(). #13

Closed herbdool closed 3 years ago

herbdool commented 3 years ago

When attempting to index I get this error:

Error: Call to undefined function entity_view() in SearchApiAlterAddViewedEntity->alterItems() (line 77 of /app/modules/search_api/includes/callback_add_viewed_entity.inc).

I believe this happens when I enable the option to add the "Complete Entity View" in the filters.

Changing to entity_plus_view() appears to work.

earlyburg commented 3 years ago

This has been fixed. https://github.com/backdrop-contrib/search_api/commit/817fd66473700a62918a69693178acf6cd038440

earlyburg commented 3 years ago

I'll do a new release after I squash some more bugs...

earlyburg commented 3 years ago

Fixed with latest release: https://github.com/backdrop-contrib/search_api/releases/tag/1.x-1.0.02 closing this issue.