When I try to create a forum i get the following errors..

Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 252 of /home/content/95/7418895/html/modules/taxonomy/taxonomy.admin.inc).
Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 376 of /home/content/95/7418895/html/modules/taxonomy/taxonomy.admin.inc).
Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 378 of /home/content/95/7418895/html/modules/taxonomy/taxonomy.admin.inc).

Comments

bmayer’s picture

I have the same problem and I think it is because I hosed the default taxonomy for forums. I would love to know how to fix this.

Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 279 of /srv/www/vhosts/gaming/drupal7/modules/taxonomy/taxonomy.admin.inc).
Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 403 of /srv/www/vhosts/gaming/drupal7/modules/taxonomy/taxonomy.admin.inc).
Notice: Trying to get property of non-object in taxonomy_overview_terms() (line 405 of /srv/www/vhosts/gaming/drupal7/modules/taxonomy/taxonomy.admin.inc).

mdupont’s picture

dddave’s picture

Status: Active » Postponed (maintainer needs more info)

Can this be reproduced in 7.4?

DrupalQ’s picture

Version: 7.0 » 7.9

I am having this same issue in Drupal 7.9.

I had successfully installed a forum on this site at one point and got rid of it.

When I tried to create a forum a second time I also got this error:
Trying to get property of non-object in taxonomy_overview_terms() also in lines 279, 403 and 405 /modules/taxonomy/taxonomy.admin.inc).

Same as bmayer indicated above.

Any suggestions?

xjm’s picture

What would really help is some steps to reproduce this error, starting with "Install Drupal core."

Note that this issue appears different from #1075998: Notice: Undefined index: taxonomy_term after re-using term reference fields (the error messages are different).

jkingsnorth’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response for a long time, so closing this issue. Please reopen if it is still a problem.

dave the brave’s picture

FWIW I debugged a similar issue and found that the 'forum' vocabulary nav variable (forum_nav_vocabulary) was not set in my installation, and that just plain breaks things. In the forum module there are a number of calls to variable_get('forum_nav_vocabulary', ''), but unfortunately if it is not set, using an empty vid has not been properly catered for.

If you set it, make sure to use the vid and not the machine name (i.e. the number, not the name). You will need to do this with drush, via the db, or using devel module's variable editor.