Closed (fixed)
Project:
Delete Orphaned Terms
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jun 2011 at 08:27 UTC
Updated:
6 Jan 2012 at 05:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
Mamouri commented+1
Comment #2
nlisgo commentedDrupal 7 API Change notification: field_attach_query() removed
http://www.devheads.net/web/drupal/development/development-drupal-7-api-...
Need to use EntityFieldQuery instead. I'm checking it out. I'll prepare a patch if I get it to work.
Comment #3
nlisgo commentedI am submitting a patch that swaps out any instance of the field_attach_query function and uses instead EntityFieldQuery.
I can confirm that applying this patch will make the module work. field_attach_query has been discontinued.
Comment #4
TimelessDomain commentedit works! thanks.
Comment #5
nlisgo commentedCan we get this patch accepted!!
Comment #6
nlisgo commentedCan we get this patch accepted!!
Comment #7
soulston commentedThis works for me although I do get a PHP Notice:
Notice: Undefined property: stdClass::$id in _delete_orphaned_terms_voc_is_tag() (line 115 of /Users/spoulston/Sites/Development/drupal-7.7/sites/all/modules/delete_orphaned_terms/delete_orphaned_terms.module).
Comment #8
MGParisi commentedsubscribe
Comment #9
MGParisi commentedtested, fixes most issues but not #7
Is this Abandoned?
Comment #10
nlisgo commentedThis should fix the PHP Notice in #7 too.
Comment #11
nlisgo commentedUnfortunately it does appear to be but it's a useful module. I've needed it a few times!
Comment #12
matt v. commented@nlisgo Thanks! I've now committed the patch. I'll make a beta release next.