I get the following error when I try to add a taxonomy term:

Notice: Undefined property: stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 912 of /sites/all/modules/taxonomy_manager/taxonomy_manager.admin.inc).

Comments

dgastudio’s picture

/#overlay=admin/structure/taxonomy/tags/add

same problem

mh86’s picture

Status: Active » Postponed (maintainer needs more info)

the new alpha4 version contains several fixes, please try again and report, if problems still exist

vlad.leo’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.0-alpha4
Component: User interface » Code
Priority: Normal » Major
Status: Postponed (maintainer needs more info) » Needs work

When I install module I have mistake.
Error message
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 236 of \modules\update\update.authorize.inc).
Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 236 of \modules\update\update.authorize.inc).
Notice: Undefined index: log in update_authorize_install_batch_finished() (line 277 of \modules\update\update.authorize.inc).
Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 278 of\modules\update\update.authorize.inc).
Installation failed! See the log below for more information.

But after that I can enable it. Than I make new dictionary, after that I try to add new term and see that "Notice: Undefined property: stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 932 of \sites\all\modules\taxonomy_manager\taxonomy_manager.admin.inc)."

Notice term I can make but I see this "Notice: Undefined index: parent in taxonomy_form_term_submit() (line 788 of \modules\taxonomy\taxonomy.admin.inc).
Notice: Undefined index: parent in taxonomy_form_term_submit() (line 810 of \modules\taxonomy\taxonomy.admin.inc)."

Anonymous’s picture

I have alpha4 installed. Fresh install, put on views, pathauto, features, their dependencies and taxonomy_manager. The first thing I tried to do on the install was add a term and got this same error.

stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 932 of /sites/all/modules/taxonomy_manager/taxonomy_manager.admin.inc).

chules’s picture

I also get the same error as well.

Notice: Undefined property: stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 932 of /var/www/*****/httpdocs/sites/all/modules/taxonomy_manager/taxonomy_manager.admin.inc).

chules’s picture

I tried to disable and then remove Taxonomy Manager by deleting the module. Now, when I go to the native taxonomy module and try to add a term I get the following error

* Notice: Undefined index: parent in taxonomy_form_term_submit() (line 788 of /var/www/youth1.com/httpdocs/modules/taxonomy/taxonomy.admin.inc).

* Notice: Undefined index: parent in taxonomy_form_term_submit() (line 810 of /var/www/youth1.com/httpdocs/modules/taxonomy/taxonomy.admin.inc).

Does the installation of Taxonomy Manager create any tables. I am trying to return the site to pre-taxonomy manager installation.

mh86’s picture

Status: Needs work » Active

seems like there is a problem with the parent-term selector, which is also used on the core taxonomy admin pages. I'm going to take a look at it soon.

@chules disable the module and then uninstall it (right tab on modules page), the notices should disappear afterwards

Dig1’s picture

Status: Closed (fixed) » Active

Yes I am using Taxonomy Manager for the first time and loving it...

However when I add a term I also get:
* Notice: Undefined property: stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 932 of .../sites/all/modules/taxonomy_manager/taxonomy_manager.admin.inc).
* Notice: Undefined index: parent in taxonomy_form_term_submit() (line 788 of .../modules/taxonomy/taxonomy.admin.inc).
* Notice: Undefined index: parent in taxonomy_form_term_submit() (line 810 of .../modules/taxonomy/taxonomy.admin.inc).
* Notice: Undefined property: stdClass::$vid in _taxonomy_manager_form_term_data_parents() (line 932 of .../sites/all/modules/taxonomy_manager/taxonomy_manager.admin.inc).

My Setup is:
Drupal core 7.0
Taxonomy Manager 7.x-1.0-alpha4
Token 7.x-1.x-dev (2011-Jan-10)
7.x-3.0-alpha1
Chaos tool suite 7.x-1.0-alpha2

Thanks Matthias

Digby

mh86’s picture

Status: Active » Fixed

I was taking a look at this issue and decided to remove the taxonomy manager's parent selector on core's term edit pages. Too complicated to get this right and furthermore not so important.

For removing the warnings, either use the newest dev version or wait for the next release. And please execute the update.php, then the warnings will disappear.

Dig1’s picture

OK Mattias I'll do that.

Thanks

DIgby

Status: Fixed » Closed (fixed)

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

Status: Active » Closed (fixed)