I just deleted a Category. I got this error report:
warning: Invalid argument supplied for foreach() in [my-path...]/modules/taxonomy_filter/taxonomy_filter.module on line 44.

Comments

styro’s picture

Status: Active » Postponed (maintainer needs more info)

I assume by 'category' you mean 'vocabulary' and not 'term'? The module doesn't get involved with deleting terms.

Deleting vocabularies works fine for me. Can you give me any other information to try and replicate your problem? There may be some corner case I haven't tested.

jehoho’s picture

Yes - I mean "vocabulary" and not "term" - I use a german version: there "vocabulary" is "Kategorie".

Sorry, I cannot retry. The only information I can add is, that the vocabulary was empty when I deleted it.

styro’s picture

I suspect there is a chance you could run into problems if the vocab in question had never generated a menu before it was deleted.

Can you come up with a series of steps to take on a fresh install that will produce this error?

Is this an ongoing problem, or a one off problem? ie does your site still work properly?

solotandem’s picture

Assigned: Unassigned » solotandem
Status: Postponed (maintainer needs more info) » Closed (fixed)

Marking closed as this is a PHP warning that displays when warning messages are turned on. Granted it should be cleaned up but it does not affect the operation and does not display when warnings are turned off (e.g. on a production site).