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.
Error "Filter rewrite_items not valid." shows up when taxonomy vocabulary that has tree structure is used as facet. When I turn off that facet error message dosent show in log anymore. Its also wierd that error message dosent show on screen only in log.
I'll do further testing if same happens with every taxonomy tree structure or only that one.
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedHi dmiric.
The "rewrite_items" filter is not part of core Facet API, so I am guessing that another module was enabled that defines this filter, this filter was set for that facet, and then the module was disabled. Therefore I am thinking that Facet API detects that the filter is no longer valid (meaning it doesn't exist anymore) and sets the error.
Thanks,
Chris
Comment #2
Rafayel CreditAttribution: Rafayel commentedI think You need to turn on module "Facet API Bonus".
Comment #3
juampynr CreditAttribution: juampynr commentedEnabling the module fixes the issue. Also, if you do not need that module, it may be that the facet is exported into a feature. Remove references to rewrite_items in code and that will fix it too.