Got this error:

Cannot use object of type TwitterUser as array in /var/www/cuusoo.com/drupal_sites/all/modules/contrib/messaging/messaging_twitter/messaging_twitter.module on line 58

Steps:

Follow instructions to register application for OAuth based access for twitter - /admin/settings/twitter

Go to user/%/edit to connect drupal user account with twitter. Good.

One of the checkbox is "import" - didn't want to import tweets into Story content type, so went to create a new content type called "Tweet".

Came back to user/%/edit page, got the above error.

--

; $Id: messaging_twitter.info,v 1.1.2.1 2009/01/15 18:29:12 jareyero Exp $
name = Twitter Messaging
description = Sending method for messaging that uses Twitter
package = "Messaging"
dependencies[] = messaging
dependencies[] = twitter
core = 6.x
; Information added by drupal.org packaging script on 2009-11-13
version = "6.x-2.2"
core = "6.x"
project = "messaging"
datestamp = "1258139771"

Comments

skyredwang’s picture

Version: 6.x-2.2 » 6.x-4.0-beta3
Priority: Normal » Critical

I also encountered this bug on 6.x-4.x on /admin/messaging/notifications/events/test

Fatal error: Cannot use object of type TwitterUser as array in /home/greatbre/public_html/sites/all/modules/messaging/messaging_twitter/messaging_twitter.module on line 67

jose reyero’s picture

Status: Active » Closed (won't fix)

You should use the stable version of Twitter.

I've done some changes though for it not to break with Twitter 3.x

jose reyero’s picture

Status: Closed (won't fix) » Postponed

I mean postponed until there's a stable twitter 3.x

socialnicheguru’s picture

This is a similar issue.

http://drupal.org/node/701634

crandallr’s picture

Version: 6.x-4.0-beta3 » 6.x-3.x-dev

I'm getting this error with the 6.x-3.0-beta2 version as well on the newest version of atrium..

Fatal error: Cannot use object of type TwitterUser as array in atrium/profiles/openatrium/modules/contrib/messaging/messaging_twitter/messaging_twitter.module on line 58

BarisW’s picture

Subscribing, having the same issue.

Fatal error: Cannot use object of type TwitterUser as array in /data/all/001/drupal_commons-6.x-1.1/profiles/drupal_commons/modules/contrib/messaging/messaging_twitter/messaging_twitter.module on line 58

nplus1’s picture

Subscribing

jim kirkpatrick’s picture

+1

tstivers’s picture

+1