Posted by mani.atico on August 29, 2010 at 5:11pm
Jump to:
| Project: | Node displays |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
The following error appears when previewing nodes with terms:
Warning: Invalid argument supplied for foreach() in taxonomy_link() (line 70 of /path/to/taxonomy/module/taxonomy.module).
Backtracing the message I found out it was caused by nd: the module overrrides the 'build_mode' property of the node (line 115 of the current dev version) which is used by taxonomy_link() as a flag to determine if it should load the terms.
Comments
#1
Excuse me, I didn't spelled right the closing blockquote tag and the message came out weird.
#2
Duplicate of #857408: Taxonomy terms shown as IDs in node preview when Node Display module enabled - still need to look into that - might eventually be removed completely since it's really hard.