I get these errors when deleting content - any type of content, and through any delete method.
Notice: Undefined property: stdClass::$taxonomy in taxonomy_menu_node_delete() (line 413 of E:\Files\Websites\Sites\Adder v2\httpdocs\sites\all\modules\taxonomy_menu\taxonomy_menu.module).
Warning: array_keys() expects parameter 1 to be array, null given in taxonomy_menu_node_delete() (line 413 of E:\Files\Websites\Sites\Adder v2\httpdocs\sites\all\modules\taxonomy_menu\taxonomy_menu.module).
Warning: Invalid argument supplied for foreach() in _taxonomy_menu_nodeapi_helper() (line 424 of E:\Files\Websites\Sites\Adder v2\httpdocs\sites\all\modules\taxonomy_menu\taxonomy_menu.module).
Comments
Comment #1
mr1 commentedI got the same errors when deleting content.
Comment #2
anewman1980 commentedSame here too.
Comment #3
jviitamaki commentedYup, same here. Happens every time.
Comment #4
scottkrieger commentedsame here
Comment #5
3rdLOF commentedSame here. Identical lines as well.
Comment #6
vitok-dupe commentedsub
Comment #7
tamsoftware commentedSame here
Comment #8
apmsooner commentedI concur... same error
Comment #9
mjgruta commentedSame here...
Comment #10
adityagada commentedsame problem here :
Warning: array_keys() [function.array-keys]: The first argument should be an array in taxonomy_menu_node_delete() (line 413 of modules/taxonomy_menu/taxonomy_menu.module).
Warning: Invalid argument supplied for foreach() in _taxonomy_menu_nodeapi_helper() (line 424 of /modules/taxonomy_menu/taxonomy_menu.module).
Comment #11
camdarley commentedSame here, each time i delete a content
Comment #12
magda_ commentedditto
Comment #13
pazap47 commentedsame situation, any news?
Comment #14
dstolThis is going to be an item in the code sprint at DrupalCon.
Comment #15
dstolShould be fixed in dev... let me know if it's not... a release will be coming soon.
Comment #16
dstolComment #17
3rdLOF commentedConfirming it is fixed. Thank you dstol. Very much appreciate it.
Comment #18
3rdLOF commentedReverting to "needs review". This error has now reappeared.
Comment #19
dstolThis is a very different error and it already has an issue open for it.
Comment #21
spanzers commentedthis thread said this error was fixed but I can't find the fix. Has it been released. Thanks much,
Comment #22
markabur commented@spanzers: It is fixed in 7.x-1.x-dev.
Comment #23
Luciuz commented7.x-1.x-dev version still has notices like in #18
Comment #24
Luciuz commentedComment #25
dstolThis was addressed in #1209476: taxonomy menu throws warnings, when deleting nodes.