I am deleting some taxonomy terms on my site and I am using Taxonomy Manager module to delete multiple terms at once. Strangely, I find that its taking forever to delete terms and I eventually get the white screen of death. I am forced to delete or or two terms at a time.

In looking through the taxonomy_image.module, I don't think the function taxonomy_image_delete() properly checks to see if a term indeed has a image to attached to. To me, that function assumes the term to be deleted has an image attached to it.

I think this issue stems from hook_taxonomy() for the delete case:

case 'delete':
      taxonomy_image_delete($tid);
      return;

So that means for any taxonomy term deleted, call taxonomy_image_delete. But taxonomy_image_delete does not check to see if the term has an image.

I stand corrected...

Comments

thepanz’s picture

Status: Active » Closed (duplicate)

I think that this issue is a duplicate of #413172: Warning on term deletion