Got this notices after saving a term

# notice: Undefined index: tid in sites\all\modules\taxonomy_menu\taxonomy_menu.module on line 701.
# notice: Undefined index: vid in sites\all\modules\taxonomy_menu\taxonomy_menu.module on line 701.
# notice: Undefined property: stdClass::$language in sites\all\modules\taxonomy_menu\taxonomy_menu.module on line 746.

Comments

arlinsandbulte’s picture

Status: Active » Postponed (maintainer needs more info)

Ping... is this still valid?

hass’s picture

Never tested again

arlinsandbulte’s picture

Status: Postponed (maintainer needs more info) » Fixed

2 months of inactivity while status was at "postponed (maintainer needs more info)"
Marking as fixed. Feel free to re-open if you still require help here.

Status: Fixed » Closed (fixed)

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

keith_k’s picture

Status: Closed (fixed) » Active

I'm getting this message myself:

I had the module installed. Disabled it. Upgraded Drupal 6 to 7. Downloaded module & enabled. Turned on taxonomy_menu for one taxonomy. Then, got this message:

Notice: Undefined index: tid in _taxonomy_menu_create_item() (line 743 of {mypath}/public_html/sites/all/modules/taxonomy_menu/taxonomy_menu.module).
Notice: Undefined property: stdClass::$language in _taxonomy_menu_create_item() (line 754 of {mypath}/public_html/sites/all/modules/taxonomy_menu/taxonomy_menu.module).

Let me know if I can help w/ more information.

Keith

keith_k’s picture

Version: 6.x-2.x-dev » 7.x-1.1

Sorry, I forgot to say I'm using 7.x-1.1

kehan’s picture

I'm getting this too and using 7.x-1.1

dstol’s picture

Status: Active » Fixed

This has been fixed in the simpletest branch but I've yet to merge it into 7.x-dev

frank ralf’s picture

Version: 7.x-1.1 » 7.x-1.2

I still get the same error message with 7.x-1.2 as described in #5. Will try the dev version and report back ;-)

frank ralf’s picture

The dev version seems to be identical to the 7.x-1.2 version. I had to apply the patch from #1175470: Bug fixed in taxonomy_menu.database.inc to get the module working at all. Error message is still

Undefined property: stdClass::$language in _taxonomy_menu_create_item() (line 754 of ...\modules\taxonomy_menu\taxonomy_menu.module).

hth
Frank

frank ralf’s picture

Setting the issue to active again.

EDIT
I only seem to be getting this error with old vocabularies which already existed before the upgrade from D6 to D7. Seems to work OK with newly created vocabularies in D7.

EDIT 2
With existing vocabularies I now get the following double error message:

# Undefined property: stdClass::$language in _taxonomy_menu_create_item() (line 754 of [...]\modules\taxonomy_menu\taxonomy_menu.module).
# Recoverable fatal error: Object of class stdClass could not be converted to string in taxonomy_menu_path_default() (line 681 of [...]\modules\taxonomy_menu\taxonomy_menu.module).
dstol’s picture

Status: Fixed » Active

Interesting. I was going to say that this is a weird one because all the simpletests report back as normal.

frank ralf’s picture

This might be related to #1228294: i18n support broken taxonomy_menu_translated_menu_link_alter errors as I have also had problems upgrading using a German installation profile (see #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that).

I think I'll try a fresh install from scratch to see whether this is related to the upgrading process.

johnv’s picture

Status: Active » Fixed

I think this is resolved in latest version.
You may have some notices when adding a non-existent 'free' tag to a node. If so, see #1364144: Notice: Undefined property: stdClass::$description in _taxonomy_menu_create_item() when adding a new,free,non-existing tag/term

Status: Fixed » Closed (fixed)

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