Closed (fixed)
Project:
Tweet
Version:
7.x-4.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2011 at 14:05 UTC
Updated:
27 Apr 2011 at 06:41 UTC
Jump to comment: Most recent file
When enabling the Taxonomy option for tweeting, the following error occours:
Fatal error: Call to undefined function taxonomy_node_get_terms_by_vocabulary() in /home/snugug/staging.snug.ug/sites/all/modules/contrib/tweet/tweet.module on line 186
The function taxonomy_node_get_terms_by_vocabulary is not a D7 function, and an API search hasn't turned up a similar function; but this is something that needs to be fixed
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | tweet.module.patch | 1.3 KB | agerson |
Comments
Comment #1
mgiffordI can confirm this is a problem with my install of the code.
Comment #2
Paragon commentedIt happens to me as well. It was working fine before...I'll post back if I figure out what's different.
Edit: 10 seconds later, I see that all I did was select some options from the menu, "Include taxonomy terms from these vocabularies as #hashtags in tweets when used in the current node".
Paragon
Comment #3
icecreamyou commentedYeah, I know it's a problem. There's no immediately obvious fix and I won't have time to work on it for a few weeks. Sorry.
Comment #4
agerson commentedtaxonomy_node_get_terms_by_vocabulary() used on line 186 of the tweet.module is not available in drupal 7. This should work
Comment #5
agerson commentedComment #6
icecreamyou commentedThanks for the patch. Will take a look when I get a chance.
Comment #7
icecreamyou commentedCommitted, thanks!