array_intersect() etc
when terms get deleted, the page may still be indexed by search engines.
The resulting page generates errors.

Comments

solotandem’s picture

Title: Check for term existence first to eliminate errors. » Check for term existence first to eliminate errors
Assigned: Unassigned » solotandem

I agree that some code should check for the existence of terms. But isn't this handled by taxonomy first? I get a 'Page not found' display if I enter term ids that are not valid. Is your page going through taxonomy first or is another module driving the content? Should the other module be picking up the non-existent term id before it gets to this module?

Let me know some more details.

sgriffin’s picture

Status: Active » Closed (fixed)

Ah ok you're right, I did not have any validation in views happening. Once corrected, your module doesn't need any input check itself.

Thank you.