Issue Summary
I have performed a fresh install of Drupal 7 Beta 1 with the standard profile and language.
I have created a new content type which includes a title, a field text, and two "existing fields" (field_tags, field_image). I have deleted the body.
When I create a new entry with information in all fields, I get the following error in the front page (it's set up to promote entries to the front page by default):
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1233 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in entity_extract_ids() (line 6974 of /home/ariscaiv/public_html/d7b1/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1237 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1233 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in entity_extract_ids() (line 6974 of /home/ariscaiv/public_html/d7b1/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1237 of /home/ariscaiv/public_html/d7b1/modules/taxonomy/taxonomy.module).However, when I click in the item, it shows correctly with no further messages. The error message is shown to authenticated and non-authenticated users. The new content type is not accepting comments, apart from that, I believe I have left everything else in its default value.
Two screenshots are included, the frontpage region with the error, and the node page with no messages.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| frontpage.png | 25.68 KB | Ignored: Check issue status. | None | None |
| node.png | 312.46 KB | Ignored: Check issue status. | None | None |
Comments
#1
I cannot reproduce this.
Could you try to dump the content of
$itemat line 1233 of thetaxonomy.modulefile?#2
I am experiencing the same issue. However, I am running the development snapshot from 10/17/2010
In addition to the default fields I have created a number of custom fields, some are text while four are terms populated by vocabularies.
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1318 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).Notice: Trying to get property of non-object in entity_extract_ids() (line 7042 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1322 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1318 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in entity_extract_ids() (line 7042 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1322 of /nfs/c07/h03/mnt/105166/domains/barhunternation.com/html/modules/taxonomy/taxonomy.module).
#3
I have same problem when I testing Drupal New version (beta 2)
I think this cause by You create a new field act as Tag but not correct type.
if you want to create tag field, you must use Term reference type.
Delete you exist field and try that.
Good luck !
#4
Seems like there might be enough info here to troubleshoot this now.
#5
Please let me know the steps I should follow if you need me to provide further info.
#6
If it's any help, I have just encountered the same error message (see attached). I think it might have been caused by creating a new alias to a taxonomy term, perhaps overriding the automatic alias, but I could easily be wrong.
#7
Actually, I was able to clear it by deleting an item of content on the front page, which is the only page where the error message was displayed. I am creating new tags - I don't know whether a previously defined tag somehow got dereferenced. Probably dangerous for me to speculate any more.
#8
Not sure where the core problem lies, but it might be affected by having the Media module enabled too. Here are my observations with Beta1:
Initially, I have enabled an image field and filefield in core CCK for several content types, including a completely new one, and they seem to work well.
I cannot add Media fields from the Media module to any content type, regardless if I disable the core CCK custom fields or not, as that causes wsod errors (not THIS error discussed here). (any of the field widget types available in Media module)
While having the core CCK fields working, no active fields from Media module (but that module is enabled), I then enabled separate "custom display settings" for full, teaser, print, etc. on the "manage display" tab for my custom CCK content type. I adjusted its default values, and set the same plus other values for each separate settings page.
That is when this error started occurring.
I think it occurs on any "listing" page that at the time of rendering actually includes one or more items from the content type that has had those settings altered. That means the front page if such content is promoted there, and any taxonomy page that would include any of those pages of that content type.
Have not had time to dig further into this, but hope these observations may help further investigations.
#9
I got the same issue, let me know what information I could provide that might help diagnosing it.
# Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1318 of /var/www/cpomus7/modules/taxonomy/taxonomy.module).
# Notice: Trying to get property of non-object in entity_extract_ids() (line 7076 of /var/www/cpomus7/includes/common.inc).
# Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /var/www/cpomus7/modules/taxonomy/taxonomy.module).
# Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1322 of /var/www/cpomus7/modules/taxonomy/taxonomy.module).
# Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1318 of /var/www/cpomus7/modules/taxonomy/taxonomy.module).
# Notice: Trying to get property of non-object in entity_extract_ids() (line 7076 of /var/www/cpomus7/includes/common.inc).
#10
We were hoping beta3 would make this go away; alas, it did not.
Any other information i can provide to help diagnose?
My errors look the same as posted above; however, for completeness, i've included the output in a file.
#11
I got the same error. I use tagadelic module and I have more content types.
I created new contents in each types and added same tags to them. This error occures when I list a tag which belongs to more than one content and the contents have different types.
If the contents have the same type I didn't get this error.
#12
With a little work I think I found the problem in taxonomy.module file. I changed a line (1336) in taxonomy_field_formatter_view function.
original: $term = $item['taxonomy_term'];
new: $term = taxonomy_term_load($item['tid']);
It works for me now, I hope it helps!
#13
#12 is not the fix. $item['taxonomy_term'] is supposed to contain the taxonomy term. Fixing the bug means finding out why it isn't populated.
Also, I haven't been able to reproduce this with the tag terms in the 'Tag' vocabulary created in a default install. We really need reproducible steps triggering the bug if we want to move forward - or at worst a database dump ?
#14
#13 here are my steps:
- I installed drupal
- after that I went to 'Structure' -> 'Content types' -> 'Add content type'
- I named the new content type ('show') then I saved it
- I opened 'Manage fields' and I selected from an existing field (I chose 'Term reference: field_tags' and 'Autocomplete term widget' from the lists.) then I saved it.
- In the next screen I left everything in default value then I clicked 'Save settings'
- then I clicked 'Add new content' and I created a new Article. I gave two tags to it (kutya, cica) then I saved it.
- then I added a new Show content. I gave two tags to it (kutya, lila) then I saved it.
- after that I opened the 'Article' typed content I created then I clicked on 'kutya' tag, then I got the error.
I updated Drupal from CVS today.
I hope it helps you to reproduce the error.
#15
#13 I attach my db dump.
#16
Thks @inf - no time to investigate right now, but reopening.
#17
Seeing the same thing here. Can provide dump or access to the site if needed.
#18
Do we know if this has been addressed in RC1?
#19
no it hasn't
#20
Am unable to reproduce this following the steps in #14 above with a copy of CVS HEAD (last commit #459116) with PHP v5.2.13 as bundled with MAMP. Anyone else?
#21
Could someone please post (or email me) a database dump that shows this with the latest CVS HEAD codebase?
#22
@DamienMcKenna : inf posted a db dump in #10. I didn't find the time to deploy it and test locally so far, but if you can take a crack at it ... :-)
#23
@yched: The file in #10 is a list of errors, not a database dump. I'm using MySQL so the PostgreSQL dump in #15 won't run, so I'll see if I can get pgsql installed.
#24
@DamienMcKenna: I updated drupal from CVS now. I installed drupal again but I used MySQL db now. I followed the steps I wrote (#14) and I got the same error again.
I attached my mysql db dump.
#25
* Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1366 of /wwwroot/FTP951E/htdocs/modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in entity_extract_ids() (line 7258 of /wwwroot/FTP951E/htdocs/includes/common.inc).
* Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /wwwroot/FTP951E/htdocs/modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1370 of /wwwroot/FTP951E/htdocs/modules/taxonomy/taxonomy.module).
#26
Facing same issues with latest install; is there a fix in the works or a potential timeline ?
#27
here i have same issue on the final drupal 7 release
* Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1368 of ./modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in entity_extract_ids() (line 7286 of ./includes/common.inc).
* Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of ./modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1372 of ./modules/taxonomy/taxonomy.module).
* Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1368 of ./modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in entity_extract_ids() (line 7286 of ./includes/common.inc).
* Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of ./modules/taxonomy/taxonomy.module).
* Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1372 of ./modules/taxonomy/taxonomy.module).
#28
I was having this issue until I went to /admin/structure/types/manage/your_custom_content_type/display/teaser and changed my Tags field from Hidden to Link.
#29
you are right! i change to inline -> text in teaser. cache cleanup, error field is gone, after i change to link and clean cache , now i dont see the error field anymore.
#30
Same here, Hiding the Tags field on teasers causes these errors. I have several more vocabularies, all are hidden for teasers, but only the Tags is needed to be changed to Link for this error to go away.
To add some more info to this, it also happened on a Views page for me, but tags are not used at all in the view on that page, nor are teasers.
Bumping to 7.0 since that's the version I am using.
#31
I'm having the same problem with a clean install of the latest release, 7.0. The error only occurs if I display terms for a custom content type in the teaser. It doesn't happen on the page display and it doesn't happen for teasers for blog posts. Change the display from link to plain text or vice versa and clearing cache has no effect. When it does throw the error it outputs a string of commas rather than a comma separated list of terms (see attached screenshot). I have also attached a screenshot of the error message.
As I said before this is a new install of latest D7 with the following modules installed:
CTools
Context
Devel
References
Colorbox
Site_map
Pathauto
Token
Views
Webform
#32
from #28, #29 (? not clear), #30 : "Hiding the Tags field on teasers causes these errors"
from #31 : "The error only occurs if I display terms for a custom content type in the teaser."
Contradiction, plus I still cannot reproduce this myself locally, either hiding or displaying the 'tags' field, either in teasers or full node page.
I'm afraid we do need detailed steps to reproduce from a fresh install, or a db dump from a site having the error (a sanitized dump, with passwords and emails removed). @inf was kind enough to provide a db dump in #24, unfortunately, it was generated before #986992: Insane etid / {field_config_entity_type} abstraction, and the dump no longer applies against current 7.x (apologies for not coming back at this soon enough).
In short : "me too" comments and screenshots are not helping. Detailed steps or a db dump, please :-)
#33
I'm using Drupal 7 Final, and it was all working well until I installed the "Synonyms" module. Since installing that, I got the error message stated above. Removing the "Synonyms" module doesn't fix the problem.
I've attached a sanitised MySQL dump (GZip'd) of my broken installation.
#34
Exact error message that appears when viewing a specific taxonomy term. I have a "Devices" taxonomy and the error only appears when viewing one (of the total of three) taxonomy terms within the "Devices" taxonomy.
Devices:
- Advent Vega (Error Displayed)
- HTC Desire
- ZTE Blade
The only difference I can see is that the "Advent Vega" term has a node (of custom content type "FAQ" attached). The other two have other content types attached, so it could be something to do with the configuration of my "FAQ" content type.
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1368 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).Notice: Trying to get property of non-object in entity_extract_ids() (line 7286 of /data/dev/drupal/androidguide/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1372 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1368 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in entity_extract_ids() (line 7286 of /data/dev/drupal/androidguide/includes/common.inc).
Notice: Trying to get property of non-object in taxonomy_term_uri() (line 148 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1372 of /data/dev/drupal/androidguide/modules/taxonomy/taxonomy.module).
#35
#36
Many thanks for the dump, @jinglemansweep. I could finally nail this.
The problem happens on listing pages, listing nodes of different types, when a shared field has different display settings in each type (i.e field_taxo displayed in node type A, hidden in node type B).
Logic error in field_default_prepare_view() : The function operates on multiple entities, and thus on multiple instances. But the first iteration of the
foreach ($instances)loop overwrites the incoming $display parameter, and messes it for the remaining entities.If this results in an instance being incorrectly seen as 'hidden', the 'prepare_view' hooks don't not run. Yet the formatter will run, because the instance is in fact not hidden, and field_default_view() is *not* broken ;-).
Taxonomy formatters expect the term object to have been loaded during the 'prepare view' step --> bang.
Thus, raising to major.
We'll need a test for this, but here's a patch fixing the bug for now.
#37
With tests.
- test-only patch, should fail,
- test + fix patch, should pass
#38
Without renaming other test methods so they stay out of the way :-p.
#39
#36 worked fine for me, i applied this patch and the problem resolved...thanks guys.
#40
I have applied the last patch and it solved my problem. Thanks a lot!
#41
No problems @yched. I suppose it was just good timing that I was redeveloping my site and didn't have too much sensitive data. Glad I stumbled across this bug report and that I could help. Even happier about the time it took you to research, investigate, fix and patch this issue.
Thank you very much for your assistance. Your speed and passion truly make the Drupal community what it is.
Now about to apply the patches so I can continue developing my site!
#42
Just applied the patch in #38 and it has solved the problem. Thanks again!
#43
+1
I had a similar setup with a custom image node type and found that whenever I added an image tagged with this term, it would spew the same messages. I also found that if I added, say, an article tagged with the same term, then the messages would go away. But this patch fixes the errors on my installation. Please apply!
#44
Patch looks great, test obviously works. RTBC.
#45
Awesome sleuthing! Thanks for the tests, too.
Committed to HEAD.
#46
I've got the same issue and I see that there is a fix for it. One thing is: I don't have experience applying patches
Do these patches integrate without any issues? I was advised to disable and backup all the modules before applying any patch, which I think makes sense.
But do I need to disable all modules that come with drupal core?
+Do i save patch above to the drupal root folder or somewhere down the tree?
+Which one of those 3 I should apply? (36, 37, or 38?)
Any advise will be helpful.
Thanks for getting solution for this problem so quickly.
Sash.
#47
#48
@sashkernel
I'm a pretty basic user as well, but maybe this will help...
When something is committed to head, you can go get the latest development release and install that. Otherwise you can apply the patch by hand by looking at the patch report - removing the lines with minuses and added the lines with plusses.
Installing the latest D7 worked to correct this for me. I imagine there are many bugfixes in there that would make it worth the gamble of going with a dev release.
#49
yep. got it to work by replacing field module from dev image.
thnx.
#50
Automatically closed -- issue fixed for 2 weeks with no activity.
#51
subscribe
#52
to #48: just a simple answer to a simple question would help too ;-)
#53
I've got the same issue, and Im using drupal 7.0.
#54
I get this error every time I choose to: Add existing field.
#55
Same problem here. subscribe
#56
No need to subscribe, nothing will happen here anymore. The fix has been committed to the 7.x-dev branch, and will be part of the next core release (7.1). Meanwhile you can download a tarball of the current state of 7.x-dev on http://drupal.org/project/drupal.
#57
That did the trick for me.. Thanks!
#58
I realize that this is "fixed" in 7.1, but is it not considered best practice to actually check for the existence of an array key before you use it?
Should the offending code block in taxonomy_field_formatter_view() not be wrapped in a isset() check?
if (isset($item['taxonomy_term'])) {$term = $item['taxonomy_term'];
$uri = entity_uri('taxonomy_term', $term);
$element[$delta] = array(
'#type' => 'link',
'#title' => $term->name,
'#href' => $uri['path'],
'#options' => $uri['options'],
);
}
#59
@gargoyle : not if the key is supposed to be present, and its absence is a smoke sign of something else going wrong. Core coding conventions include not adding unneeded preventive cruft checks, and not hiding errors under the carpet.
#60
@yched: One of the problems, though is not being able to debug the problem without (temporarily) hacking core, so would it be so bad to add in a watchdog statement for invalid data just to record the invalid nid?
#61
I am still having this issue.
Notice: Undefined variable: element in media_field_formatter_view() (line 162 of /var/www/Drupal/sites/all/modules/media/includes/media.fields.inc).
#62
@Snicers : that is a different issue, which should be reported in the Media module issue queue (if it hasn't been already)
#63
Still an issue in D7.8. 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 Messages:
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Undefined index: taxonomy_term in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_formatter_view() (line 1433 of /var/www/html/modules/taxonomy/taxonomy.module).
Drupal version : 7.8
Database driver : mysql
Database hostname : localhost
Default theme : bartik
Administration theme : seven
PHP configuration : /etc/php.ini
Drush version : 4.5
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 Module Enabled 7.x-3.0-rc1
(admin_menu_toolbar)
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 Module Enabled 7.x-1.0-rc1
(ctools_ajax_sample)
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.8
Core Block (block) Module Enabled 7.8
Core Blog (blog) Module Not installed 7.8
Core Book (book) Module Enabled 7.8
Core Color (color) Module Enabled 7.8
Core Comment (comment) Module Enabled 7.8
Core Contact (contact) Module Enabled 7.8
Core Content translation (translation) Module Not installed 7.8
Core Contextual links (contextual) Module Enabled 7.8
Core Dashboard (dashboard) Module Enabled 7.8
Core Database logging (dblog) Module Enabled 7.8
Core Field (field) Module Enabled 7.8
Core Field SQL storage (field_sql_storage) Module Enabled 7.8
Core Field UI (field_ui) Module Enabled 7.8
Core File (file) Module Enabled 7.8
Core Filter (filter) Module Enabled 7.8
Core Forum (forum) Module Not installed 7.8
Core Help (help) Module Enabled 7.8
Core Image (image) Module Enabled 7.8
Core List (list) Module Enabled 7.8
Core Locale (locale) Module Enabled 7.8
Core Menu (menu) Module Enabled 7.8
Core Node (node) Module Enabled 7.8
Core Number (number) Module Enabled 7.8
Core OpenID (openid) Module Not installed 7.8
Core Options (options) Module Enabled 7.8
Core Overlay (overlay) Module Disabled 7.8
Core Path (path) Module Enabled 7.8
Core PHP filter (php) Module Enabled 7.8
Core Poll (poll) Module Not installed 7.8
Core RDF (rdf) Module Enabled 7.8
Core Search (search) Module Enabled 7.8
Core Shortcut (shortcut) Module Enabled 7.8
Core Statistics (statistics) Module Enabled 7.8
Core Syslog (syslog) Module Not installed 7.8
Core System (system) Module Enabled 7.8
Core Taxonomy (taxonomy) Module Enabled 7.8
Core Testing (simpletest) Module Not installed 7.8
Core Text (text) Module Enabled 7.8
Core Toolbar (toolbar) Module Disabled 7.8
Core Tracker (tracker) Module Enabled 7.8
Core Trigger (trigger) Module Enabled 7.8
Core Update manager (update) Module Enabled 7.8
Core User (user) Module Enabled 7.8
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.0
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-beta10
Other Entity tokens (entity_token) Module Enabled 7.x-1.0-beta10
Other Forward (forward) Module Enabled 7.x-1.1
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
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.8
Core Garland (garland) Theme Disabled 7.8
Core Seven (seven) Theme Enabled 7.8
Core Stark (stark) Theme Disabled 7.8
#64
This was committed with automated tests several months ago, so if you're seeing the same error or a similar one, it will be a different root cause. Please open a new issue.
#65
Catch,
Quote: "I realize that this is "fixed" in 7.1, but is it"
It hasn't been completely fixed. It still crops up in D7.8, as I presented, with what should be enough information to go figure out the last tidbit of this bug.
Please play nice, it's not what the 'root' cause is, it's that this isn't a "new" issue.
Sam
#66
#67
This isn't fixed, but I'll play your reindeer games, new bug report at: http://drupal.org/node/1323740
#68
I found this in 7.9 when I had hidden the tags in default view but not in the teaser. I just edited the content type: manage display and hide tags in both views. Hope this helps.
#69
This 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....
Double posting here and in new issue (http://drupal.org/node/1323740) because I am simply confused as to where to post.
#70
The other issue was the right one, I've bumped priority on that one though.
#71
Thanks , its really helpful...
My proublem is solved i have replaced the Taxanomy.module
Line 1436 in drupal7
Original $term = $item['taxonomy_term'];
Replaced $term = taxonomy_term_load($item['tid']);
Happy Drupling....
#72
Confirming that this fixes the error.
It's a shame to have to hack core but at least it works
#73
Issue still exists in 7.12. I used hack see post #71 at line 1443 - that fixed the issue for me too. Drupal is new to me so I was very surprised to bump into a bug like this one. As soon as i assigned a product to a catalog i got the error when accessing page with catalog.
#74
Please follow up in this issue: #1075998: Notice: Undefined index: taxonomy_term after re-using term reference fields. We need steps to reproduce the problem in that issue. It may be caused by a contributed module.
#75
I had the same problem and this solution works fine for me too. Thanks for sharing.
#76
thanks, that work for me too. TQ.
#77
thanks it's worked for me too
#78
In my case applying #71 sollution caused another bug:
Fatal error: Unsupported operand types in /modules/node/node.module on line 1361
Any ideas?
#79
after #71 i now get EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7501 of /includes/common.inc).
#80
#71 fixed this for me too. My trouble seems to have started when I somehow built duplicate taxonomy names called "catalog" because I couldn't figure out how to get ubercart to list products. The taxonomy implementation into Ubercart seems fairly new, so I'm thinking something there may have caused my particular issue.
#81
Re-opening... #1075998 is not related in my opinion. Comment #71 has not made it to the core so the bug has jumped into the latest 7.12 version!
I used 7 'Term Reference' fields. There may be a connection to field_regions or field_images being loaded twice as per previous comments.
NOTE that I only get the error when clicking the 'preview' button. Saving works as expected.
It seems obvious to me that the term is simply not being loaded into $item['taxonomy_term'].
#82
@dynamicdan: Please open a new issue with explicit steps to reproduce the error you're getting. So far everything points to this being caused by bad code in contributed modules.
#83
#71 worked well for me too, it was something related with Ubercart Catalog, that is conected with taxonomy, thanks a lot.
#84
I have this problem with ubercart products (www.riberbike.es)
but only when terms has more than one product :) on 1rst and 2nd block (list) taxonomy
ej: "Peugeot" have troubles (many products for this make),
but "polisport" no trouble >> only one term in this make.
#71 do not work for me.
>>> 3rd block taxonomy: no problem even if more than one "product" included in this term
because (???? mmm) 3rd block have a class defined in shop (ubercart > bike accessories )
1rst & 2nd block haven't class defined in ubercart (default product, bikes) It could be the reason ????
thanks for help.
------ edit
No troubles in terms like "Origin-8" in the 1rst block because many products but alls from accessories, i.e: from "defined class" in ubercart shop.
So only problem with terms linked with "ubercart: default product class", not with terms "from" ubercart defined class. !!! I hope it can help for reproducing this issue. thanks
#85
Please open a new issue against ubercart and link to it from this one.
#86
Ugh. I had to resort to #71...
The issue for me is simple to reproduce. Any ubercart product node with attributes results in an $item array that lacks the taxonomy_term key and therefore it borks.
For performance reasons, I tried to not load every single time, so here was my hack.
if(isset($item['taxonomy_term'])) {$term = $item['taxonomy_term'];
}
else{
$term = taxonomy_term_load($item['tid']);
}
Obviously, use with care and realize the upcoming 7.13 will break this.
#87
Same for me, see: http://drupal.org/node/1529276#comment-5874660
thank you,