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

mr1’s picture

I got the same errors when deleting content.

anewman1980’s picture

Same here too.

jviitamaki’s picture

Yup, same here. Happens every time.

scottkrieger’s picture

same here

3rdLOF’s picture

Same here. Identical lines as well.

vitok-dupe’s picture

sub

tamsoftware’s picture

Same here

apmsooner’s picture

I concur... same error

mjgruta’s picture

Same here...

adityagada’s picture

same 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).

camdarley’s picture

Same here, each time i delete a content

magda_’s picture

ditto

pazap47’s picture

same situation, any news?

dstol’s picture

Assigned: Unassigned » dstol

This is going to be an item in the code sprint at DrupalCon.

dstol’s picture

Version: 7.x-1.1 » 7.x-1.x-dev

Should be fixed in dev... let me know if it's not... a release will be coming soon.

dstol’s picture

Status: Active » Fixed
3rdLOF’s picture

Confirming it is fixed. Thank you dstol. Very much appreciate it.

3rdLOF’s picture

Status: Fixed » Needs review

Reverting to "needs review". This error has now reappeared.


Notice: Undefined property: stdClass::$vid in _taxonomy_menu_nodeapi_helper() (line 431 of /Users/nitok/Sites/drupal7/sites/all/modules/taxonomy_menu/taxonomy_menu.module).
Notice: Undefined property: stdClass::$vid in _taxonomy_menu_nodeapi_helper() (line 432 of /Users/nitok/Sites/drupal7/sites/all/modules/taxonomy_menu/taxonomy_menu.module).
Notice: Undefined property: stdClass::$vid in _taxonomy_menu_nodeapi_helper() (line 433 of /Users/nitok/Sites/drupal7/sites/all/modules/taxonomy_menu/taxonomy_menu.module).
Notice: Undefined property: stdClass::$vid in _taxonomy_menu_nodeapi_helper() (line 434 of /Users/nitok/Sites/drupal7/sites/all/modules/taxonomy_menu/taxonomy_menu.module).

dstol’s picture

Status: Needs review » Fixed

This is a very different error and it already has an issue open for it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

spanzers’s picture

this thread said this error was fixed but I can't find the fix. Has it been released. Thanks much,

markabur’s picture

@spanzers: It is fixed in 7.x-1.x-dev.

Luciuz’s picture

7.x-1.x-dev version still has notices like in #18

Luciuz’s picture

Priority: Minor » Major
Status: Closed (fixed) » Active
dstol’s picture

Priority: Major » Minor
Status: Active » Closed (fixed)