I've been looking for something like this for a while. Running on a test setup, I am getting this error:

Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/sites/all/modules/views_taxonomy_selective_filter/views_taxonomy_selective_filter_filter_term_node_tid_selective.inc on line 183.

This seems to break the intended function too as the exposed filter is not being limited to terms in the view results.

Comments

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

Did you change the Filter identifier for that filter?

joachim’s picture

I've committed a fix for that in CVS.

Can you try the development release once it's been updated, and let me know if it fixes the bug for you too?

Thanks for taking the time to report this :)

joachim’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm going to assume this is fixed.

If not, feel free to reopen this with more details.

dietcheese’s picture

I'm getting the following error, not sure if it is related:

Fatal error: Call to undefined function views_exposed_form_cache() in /var/www/vhosts/domain.com/subdomains/dev/httpdocs/sites/all/modules/views_taxonomy_selective_filter/views_taxonomy_selective_filter_filter_term_node_tid_selective.inc on line 174

joachim’s picture

Can you file a new issue for that please? (and state in it which version of Views you are on.)

ARray’s picture

Status: Fixed » Active

I have the same error.
Views 6.x-2.5

joachim’s picture

The same as who?

joachim’s picture

Title: Great module but produces an error » Invalid argument supplied for foreach() line 183
Status: Active » Fixed

Updating title.

If you have this particular error, with the latest Views (6.x-2.8) and the latest code for this module, please reopen.

If it's another error, file a new issue please.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.