Download & Extend

Errors thrown on community tags page

Project:Community Tags
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Got this error upon installing the community tags module and visiting "admin/config/community-tags"

Notice: Undefined index: tags in _community_tags_get_term_reference_fields() (line 1190 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1191 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1192 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Undefined index: tags in _community_tags_get_term_reference_fields() (line 1190 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1191 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1192 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Undefined index: tags in _community_tags_get_term_reference_fields() (line 1190 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1191 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1192 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Undefined index: tags in _community_tags_get_term_reference_fields() (line 1190 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1191 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1192 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Undefined index: tags in _community_tags_get_term_reference_fields() (line 1190 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1191 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).
Notice: Trying to get property of non-object in _community_tags_get_term_reference_fields() (line 1192 of C:\xampp\htdocs\drupal\sites\all\modules\community_tags\community_tags.module).

Comments

#1

Hmmm, this is peculiar. I've just committed a fix that will stop these notices, but it's hard to see how they might occur. If after applying this fix you don't see all the vocabularies and content types you would expect to (i.e. for all term reference fields) there are a couple of things you could try. Are you running an early version of D7 or have you upgraded an earlier installation perhaps?

#2

Fix is included in 7.x-1.0-beta1 release.