Same bug from http://drupal.org/node/934726 . Not sure why catch/spatz think it should be a new bug report, but, whatever....
===================
Still an issue in D7.9. Standard install, no code modifications of any kind.
Steps for reproduction:
- Taxonomy >> Add vocabulary
"MY-Page Keywords"
- Create custom Content Type, "MY-Page"
- "Add new field"
Label: Keywords
Name: field_my_page_keywords
Field: Term reference
Widget: Autocomplete term widget (tagging)
- Edit "Keywords"
Number of values: Unlimited
Vocabulary: "MY-Page Keywords"
- Hide "Keywords" field
- Add a meta tag default (/admin/config/search/metatags)
Node: MY-Page
Inherits meta tags from: Global, Node
Keywords: [node:field_my_page_keywords]
- Add Content >> MY-Page
- Add three terms to "Keywords"
Error occurs.
Error and basic site info below. Need more?, just ask.
Best,
Sam
====
Other observational notes:
- The page source with the error shows:
<meta name="keywords" content=", , " />
- Pasting the three terms into the Meta tags >> Keywords results in:
<meta name="keywords" content="quality, craftsmanship, customer service" />
- Error occurs whether or not there are pre-loaded Taxonomy terms in Keywords.
Error Messages:
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1449 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1449 of /var/www/html/modules/taxonomy/taxonomy.module).
{repeats once per "Keywords" entered}
$ drush status
Drupal version : 7.9
Site URI : http://default
Database driver : mysql
Database hostname : localhost
Drupal bootstrap : Successful
Drupal user : Anonymous
Default theme : bartik
Administration theme : seven
PHP configuration : /etc/php.ini
Drush version : 4.5
Drush configuration :
Drush alias files :
Site path : sites/default
File directory path : sites/default/files
Private file directory path : sites/default/files/private
$ drush pml
Package Name Type Status Version
Administration Actions permissions (actions_permissions) Module Enabled 7.x-3.0-beta3
Administration Administration Development tools (admin_devel) Module Enabled 7.x-3.0-rc1
Administration Administration menu (admin_menu) Module Enabled 7.x-3.0-rc1
Administration Administration menu Toolbar style (admin_menu_toolbar) Module Enabled 7.x-3.0-rc1
Administration Administration views (admin_views) Module Not installed 7.x-3.0-rc1
Chaos tool suite Bulk Export (bulk_export) Module Not installed 7.x-1.0-rc1
Chaos tool suite Chaos tools (ctools) Module Enabled 7.x-1.0-rc1
Chaos tool suite Chaos Tools (CTools) AJAX Example (ctools_ajax_sample) Module Enabled 7.x-1.0-rc1
Chaos tool suite Chaos Tools (CTools) Plugin Example Module Not installed 7.x-1.0-rc1
(ctools_plugin_example)
Chaos tool suite Custom content panes (ctools_custom_content) Module Not installed 7.x-1.0-rc1
Chaos tool suite Custom rulesets (ctools_access_ruleset) Module Not installed 7.x-1.0-rc1
Chaos tool suite Page manager (page_manager) Module Enabled 7.x-1.0-rc1
Chaos tool suite Stylizer (stylizer) Module Not installed 7.x-1.0-rc1
Chaos tool suite Views content panes (views_content) Module Enabled 7.x-1.0-rc1
Core Aggregator (aggregator) Module Not installed 7.9
Core Block (block) Module Enabled 7.9
Core Blog (blog) Module Not installed 7.9
Core Book (book) Module Enabled 7.9
Core Color (color) Module Enabled 7.9
Core Comment (comment) Module Enabled 7.9
Core Contact (contact) Module Enabled 7.9
Core Content translation (translation) Module Not installed 7.9
Core Contextual links (contextual) Module Enabled 7.9
Core Dashboard (dashboard) Module Enabled 7.9
Core Database logging (dblog) Module Enabled 7.9
Core Field (field) Module Enabled 7.9
Core Field SQL storage (field_sql_storage) Module Enabled 7.9
Core Field UI (field_ui) Module Enabled 7.9
Core File (file) Module Enabled 7.9
Core Filter (filter) Module Enabled 7.9
Core Forum (forum) Module Not installed 7.9
Core Help (help) Module Enabled 7.9
Core Image (image) Module Enabled 7.9
Core List (list) Module Enabled 7.9
Core Locale (locale) Module Enabled 7.9
Core Menu (menu) Module Enabled 7.9
Core Node (node) Module Enabled 7.9
Core Number (number) Module Enabled 7.9
Core OpenID (openid) Module Not installed 7.9
Core Options (options) Module Enabled 7.9
Core Overlay (overlay) Module Disabled 7.9
Core Path (path) Module Enabled 7.9
Core PHP filter (php) Module Enabled 7.9
Core Poll (poll) Module Not installed 7.9
Core RDF (rdf) Module Enabled 7.9
Core Search (search) Module Enabled 7.9
Core Shortcut (shortcut) Module Enabled 7.9
Core Statistics (statistics) Module Enabled 7.9
Core Syslog (syslog) Module Not installed 7.9
Core System (system) Module Enabled 7.9
Core Taxonomy (taxonomy) Module Enabled 7.9
Core Testing (simpletest) Module Not installed 7.9
Core Text (text) Module Enabled 7.9
Core Toolbar (toolbar) Module Disabled 7.9
Core Tracker (tracker) Module Enabled 7.9
Core Trigger (trigger) Module Enabled 7.9
Core Update manager (update) Module Enabled 7.9
Core User (user) Module Enabled 7.9
Date/Time Date (date) Module Enabled 7.x-2.0-alpha4
Date/Time Date API (date_api) Module Enabled 7.x-2.0-alpha4
Date/Time Date Migration (date_migrate) Module Not installed 7.x-2.0-alpha4
Date/Time Date Popup (date_popup) Module Enabled 7.x-2.0-alpha4
Date/Time Date Repeat API (date_repeat) Module Enabled 7.x-2.0-alpha4
Date/Time Date Tools (date_tools) Module Enabled 7.x-2.0-alpha4
Date/Time Date Views (date_views) Module Enabled 7.x-2.0-alpha4
Development Devel (devel) Module Enabled 7.x-1.2
Development Devel generate (devel_generate) Module Enabled 7.x-1.2
Development Devel node access (devel_node_access) Module Enabled 7.x-1.2
Display suite Display suite (ds) Module Enabled 7.x-1.3
Display suite Extras (ds_extras) Module Enabled 7.x-1.3
Display suite Search display (ds_search) Module Enabled 7.x-1.3
Features Date Migration Example (date_migrate_example) Module Not installed 7.x-2.0-alpha4
Fields Field Permissions (field_permissions) Module Enabled 7.x-1.0-beta1
Fields Fieldgroup (field_group) Module Enabled 7.x-1.1
Image Imagecache Actions (imagecache_actions) Module Enabled 7.x-0.0
Image Imagecache Autorotate (imagecache_autorotate) Module Enabled 7.x-0.0
Image Imagecache Canvas Actions (imagecache_canvasactions) Module Enabled 7.x-0.0
Image Imagecache Color Actions (imagecache_coloractions) Module Enabled 7.x-0.0
Image Imagecache Custom Actions (imagecache_customactions) Module Enabled 7.x-0.0
Image Imagecache_actions Test Suite (imagecache_testsuite) Module Not installed 7.x-0.0
MailChimp MailChimp (mailchimp) Module Enabled 7.x-2.1
MailChimp MailChimp Lists (mailchimp_lists) Module Enabled 7.x-2.1
MailChimp MailChimp STS (mailchimp_sts) Module Enabled 7.x-2.1
Meta tags Meta tag API (metatag) Module Enabled 7.x-1.0-alpha3
Meta tags Meta tag UI (metatag_ui) Module Enabled 7.x-1.0-alpha3
Meta tags Open Graph meta tags (metatag_opengraph) Module Enabled 7.x-1.0-alpha3
Other Advanced help (advanced_help) Module Enabled 7.x-1.0-beta1
Other Advanced help example (help_example) Module Enabled 7.x-1.0-beta1
Other Entity API (entity) Module Enabled 7.x-1.0-beta11
Other Entity tokens (entity_token) Module Enabled 7.x-1.0-beta11
Other Forward (forward) Module Enabled 7.x-1.2
Other Image crop (imagefield_crop) Module Enabled 7.x-1.0
Other Image javascript crop (imagecrop) Module Enabled 7.x-1.0-rc3
Other Libraries (libraries) Module Enabled 7.x-1.0
Other Pathauto (pathauto) Module Enabled 7.x-1.0-rc2
Other Scheduler (scheduler) Module Enabled 7.x-1.0
Other Token (token) Module Enabled 7.x-1.0-beta6
Printer, e-mail and PDF PDF version (print_pdf) Module Enabled 7.x-1.0-beta1
versions
Printer, e-mail and PDF Printer-friendly pages (print) Module Enabled 7.x-1.0-beta1
versions
Printer, e-mail and PDF Send by e-mail (print_mail) Module Enabled 7.x-1.0-beta1
versions
Rules Rules (rules) Module Enabled 7.x-2.0
Rules Rules Scheduler (rules_scheduler) Module Enabled 7.x-2.0
Rules Rules UI (rules_admin) Module Enabled 7.x-2.0
Service Links Service links (service_links) Module Enabled 7.x-2.1
Service Links Service Links Displays (service_links_displays) Module Not installed 7.x-2.1
Service Links Service Links Share (service_links_share) Module Not installed 7.x-2.1
Service Links Service Links Sprites (service_links_sprites) Module Not installed 7.x-2.1
Service Links - Services Basque Services (basque_services) Module Not installed 7.x-2.1
Service Links - Services Dutch Services (dutch_services) Module Not installed 7.x-2.1
Service Links - Services Farsi Services (farsi_services) Module Not installed 7.x-2.1
Service Links - Services Favorite Services (favorite_services) Module Not installed 7.x-2.1
Service Links - Services Forward Services (forward_services) Module Enabled 7.x-2.1
Service Links - Services General Services (general_services) Module Enabled 7.x-2.1
Service Links - Services German Services (german_services) Module Not installed 7.x-2.1
Service Links - Services Hungarian Services (hungarian_services) Module Not installed 7.x-2.1
Service Links - Services Italian Services (italian_services) Module Not installed 7.x-2.1
Service Links - Services Polish Services (polish_services) Module Not installed 7.x-2.1
Service Links - Services Print Services (print_services) Module Enabled 7.x-2.1
Service Links - Services Russian Services (russian_services) Module Not installed 7.x-2.1
Service Links - Services Spanish Services (spanish_services) Module Not installed 7.x-2.1
Service Links - Services Swedish Services (swedish_services) Module Not installed 7.x-2.1
Service Links - Services Widget Services (widget_services) Module Enabled 7.x-2.1
Spam control reCAPTCHA (recaptcha) Module Not installed 7.x-1.7
Spam control reCAPTCHA Mailhide (recaptcha_mailhide) Module Enabled 7.x-1.7
Statistics Google Analytics (googleanalytics) Module Enabled 7.x-1.2
Ubercart - core Cart (uc_cart) Module Enabled 7.x-3.x-dev
Ubercart - core Order (uc_order) Module Enabled 7.x-3.x-dev
Ubercart - core Product (uc_product) Module Enabled 7.x-3.x-dev
Ubercart - core Store (uc_store) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Catalog (uc_catalog) Module Not installed 7.x-3.x-dev
Ubercart - core (optional) File downloads (uc_file) Module Not installed 7.x-3.x-dev
Ubercart - core (optional) Payment (uc_payment) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Product attributes (uc_attribute) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Reports (uc_reports) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Roles (uc_roles) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Shipping (uc_shipping) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Shipping quotes (uc_quote) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Tax report (uc_tax_report) Module Enabled 7.x-3.x-dev
Ubercart - core (optional) Taxes (uc_taxes) Module Enabled 7.x-3.x-dev
Ubercart - extra Cart Links (uc_cart_links) Module Enabled 7.x-3.x-dev
Ubercart - extra Google Analytics for Ubercart (uc_googleanalytics) Module Enabled 7.x-3.x-dev
Ubercart - extra Product kit (uc_product_kit) Module Enabled 7.x-3.x-dev
Ubercart - extra Stock (uc_stock) Module Enabled 7.x-3.x-dev
Ubercart - fulfillment Flat rate (uc_flatrate) Module Enabled 7.x-3.x-dev
Ubercart - fulfillment U.S. Postal Service (uc_usps) Module Enabled 7.x-3.x-dev
Ubercart - fulfillment UPS (uc_ups) Module Enabled 7.x-3.x-dev
Ubercart - fulfillment Weight quote (uc_weightquote) Module Enabled 7.x-3.x-dev
Ubercart - payment 2Checkout (uc_2checkout) Module Not installed 7.x-3.x-dev
Ubercart - payment Authorize.net (uc_authorizenet) Module Enabled 7.x-3.x-dev
Ubercart - payment Credit card (uc_credit) Module Enabled 7.x-3.x-dev
Ubercart - payment CyberSource (uc_cybersource) Module Not installed 7.x-3.x-dev
Ubercart - payment Google Checkout (uc_google_checkout) Module Not installed 7.x-3.x-dev
Ubercart - payment Payment method pack (uc_payment_pack) Module Not installed 7.x-3.x-dev
Ubercart - payment PayPal (uc_paypal) Module Enabled 7.x-3.x-dev
Ubercart - payment Test gateway (test_gateway) Module Enabled 7.x-3.x-dev
User interface Superfish (superfish) Module Enabled 7.x-1.8
User interface Wysiwyg (wysiwyg) Module Not installed 7.x-2.1
Views Views (views) Module Enabled 7.x-3.0-rc1
Views Views Bulk Operations (views_bulk_operations) Module Disabled 7.x-3.0-beta3
Views Views UI (views_ui) Module Enabled 7.x-3.0-rc1
Webform Webform (webform) Module Enabled 7.x-3.13
Webtrends Webtrends (webtrends) Module Enabled 7.x-1.x-dev
Webtrends Webtrends CTools Page Manager plugin Module Enabled 7.x-1.x-dev
(webtrends_page_manager)
Core Bartik (bartik) Theme Enabled 7.9
Core Garland (garland) Theme Disabled 7.9
Core Seven (seven) Theme Enabled 7.9
Core Stark (stark) Theme Disabled 7.9
Comments
Comment #1
dynamicdan CreditAttribution: dynamicdan commentedThis also happens to us on 7.8 when clicking Preview on certain content types. I believe we are also hiding many (taxonomy) fields for our default view. (See: http://drupal.org/node/934726#comment-5197414)
Comment #2
catchTagging and fixing some issue meta-data.
Comment #3
xjmThe steps to reproduce appear to require a contrib module. I was not able to reproduce the error omitting that step. Can someone provide some steps to reproduce with just core?
Comment #4
Gábor HojtsyComment #5
clemens.tolboomXRef #934726: Undefined index: taxonomy_term in taxonomy_field_formatter_view()
Just curious about the metatag module I tried to recreate the error.
First observation: My token [node:field_my_page_keywords] is not allowed on the settings page for meta tag title.
@Sam-Inet have you edited admin/config/search/metatags/config/node ? Maybe a patch on the token module now causes this error due to an invalid token.
I also installed metatag_opengraph and entity_token trying to reproduce this. No luck either.
@Sam-Inet could you update the issue summary to the bare needs if your edit of metatag config did not solve your problem?
Comment #6
Michael-IDA CreditAttribution: Michael-IDA commented@ clemens.tolboom,
Will try to recreate on a cleaner site on Thursday/Friday, as it's very likely a combination of modules? If nothing else it'll trim where to look down a bunch.
Maybe...
You won't have token [node:field_my_page_keywords] as it comes from:
Best,
Sam
Comment #7
xjmAlright, so this is potentially a Meta tags issue then?
Comment #8
Dave ReidIs there reproducible evidence as to what the problem in meta tags actually is here?
Comment #9
Michael-IDA CreditAttribution: Michael-IDA commentedHi xjm,
Per #1, dynamicdan, seems Meta tags isn't the root culprit. Seems more like Tax is, but until I get more time to recreate on a cleaner install, I won't be able to tell you more.
moving back to core/tax
Sam
Comment #10
xjmActually #1 doesn't indicate whether Meta tags is installed or not. :) But steps to reproduce would help.
Comment #11
xjmMarked #1230612: Multiple errors when viewing Tag as duplicate.
Edit: Actually, #1075998: Notice: Undefined index: taxonomy_term after re-using term reference fields is older and seems to be the same thing, so marking these both as dupes of that.
Comment #12
xjmPlease add further troubleshooting/followup/steps to reproduce to #1075998: Notice: Undefined index: taxonomy_term after re-using term reference fields.