go to config/tweet, and select Tags under the section Include taxonomy terms from these vocabularies as #hashtags in tweets when used in the current node, and save settings.

Then I get the error below when clicking the link Post to twitter.

Fatal error: Call to undefined method DatabaseStatementBase::addTag() in .../sites/all/modules/tweet/tweet.module on line 196

Comments

astra’s picture

Before selecting term Tags under the configuration page, it works well and I can click Post to twitter to send tweets.

Now I want send tweets with Tags so try selecting term Tags by configuring the tweet module. But it give errors and it's not possible to deselect term Tags because of no Undo and Reset buttons. My web pages with the tweet link always display the Fatal error. Only I can do is uninstalling the Tweet module.

icecreamyou’s picture

Please search in the queue for existing issues before posting a new one.

Marked #1150262: Fatal error: Call to undefined method DatabaseStatementBase::addTag() in sites/all/modules/tweet/tweet as duplicate, but only because this issue is more descriptive. (Really this issue is a duplicate of that one.)

icecreamyou’s picture

Status: Active » Needs review

Committed a fix to dev but wasn't able to test it. It can't be worse than what's already happening, right? ;-) Please test once the next dev build gets generated, and mark "fixed" if it works.

mblob’s picture

[ctrl+click] will cancel your selections, then you can unselect all taxonomy vocabularies. It "works" when not playing with this option.

icecreamyou’s picture

Status: Needs review » Fixed

Well, I'm going to assume this is fixed in dev barring any reports otherwise.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nathancollins44’s picture

Version: 7.x-4.2 » 7.x-4.3
Status: Closed (fixed) » Active

I am using Version 7.x-4.3 and I also get this Error!

Fatal error: Call to undefined method DatabaseStatementBase::addTag()

I am going to [ctrl+click] and cancel my tag selections for now but I would like to have this #link feature...

icecreamyou’s picture

Status: Active » Closed (fixed)

This was committed to dev on May 31st. 7.x-4.3 was released on May 19th. Therefore this fix is not in 7.x-4.3.