taxonomy_term_count_nodes() flakes out: empty white screen when term has itself as parent
So yeah, that's pretty much it. Agaric's place module (place_taxonomy to be precise) has a custom page to display all countries with the number of actions and other content posted in them (yes, we will replace this with views eventually).
Somehow (Taxonomy_manager? Places_taxonomy's own save?) the term "Milano" got itself as a parent. The result: taxonomy_term_count_nodes() flakes out and causes the custom /countries page to display an absolutely empty white screen, no error messages anywhere.
Read this entry in reverse order to experience Agaric's road to understanding what was going on. (We deleted parts of our page until it came back, isolated the problem as being with taxonomy_term_count_nodes -- a Drupal core function, mind you, when we expected the problem to be one of ours -- and then recalled seeing something strange on the taxonomy administration list view...
Resolution
More like this
- Taxonomy_term_count_nodes gives stupid results when child terms have same nodes
- White Screen of Death due to taxonomy parent-child infinite loop
- Does FeedAPI re-import a feed item if its node has been deleted?
- Agaric asks itself: help. views arguments? Taxonomy, nodes, and context
- Copy taxonomy terms from one node to another


Comments
Post new comment