Problem/Motivation

Hi All,

After updating the module to 2.0.2 and running database update "drush updb", I encountered this error.

[notice] Update started: facets_summary_update_8002
> [error] The "search_api:views_page__search__all_locations" plugin does not exist. Valid plugin IDs for Drupal\facets\FacetSource\FacetSourcePluginManager are:
> [error] Update failed: facets_summary_update_8002

Steps to reproduce

Update the module to 2.0.2 version and run database update.

Comments

saurabh-2k17 created an issue. See original summary.

saurabh-2k17’s picture

Title: Database update failed » Database update failed (The "search_api:views_page__search__all_locations" plugin does not exist)
saurabh-2k17’s picture

Status: Needs work » Active
peterjlord’s picture

Hi there,
I'm also having the same issue with this update
Running drush updatedb I get

[notice] Update started: facets_update_8009
>  [error]  Call to a member function isEmpty() on null 
>  [error]  Update failed: facets_update_8009 
>  [notice] Update started: facets_summary_update_8002
>  [error]  Call to a member function isEmpty() on null 
>  [error]  Update failed: facets_summary_update_8002 
 [error]  Update aborted by: facets_update_8009, facets_summary_update_8002 
 [error]  Finished performing updates. 

Thanks

mtalt’s picture

I have ran into this issue today. I was able to workaround it by deleting the facets_summary config that contained the facet_source_id that matched the plugin ID in the error message. The facets summary that I needed to delete was not displayed on the /admin/config/search/facets page and was unused.