[code]
Fatal error: Call to undefined function user_external_login() in /var/www/website/sites/website/modules/twitter/twitter_signin/twitter_signin.module on line 132[/code]

When attempting to sign in via Twitter, the above message is shown and the attempt fails.

CommentFileSizeAuthor
#9 twitter-n1982786-9-7.x-5.x.patch642 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tjharman’s picture

Is anyone else seeing this - or have I just gone insane?

den33775’s picture

Did you install the OAuth module? I think it's dependent on it. Or maybe need to run update.php?

dddave’s picture

Status: Active » Postponed (maintainer needs more info)
tjharman’s picture

Hi.

What other information do you need?

I certainly have oauth enabled! - 7.x-3.1

I have just downloaded the latest version (7.x-5.8) and this line of code exists:

from twitter/twitter_signin/twitter_signin.module

  if (isset($account->uid)) {
    user_external_login($account, $response);                    <--------------------- This guy!
    $success = TRUE;
  }

From all the reading I've done, user_external_login doesn't existing in Drupal 7 anymore. Indeed greping my entire Drupal tree, the only reference I find to this function is within the Twitter signin.module.

Is there a 3rd module I must install to get access to this function?

Please let me know what other information I can provide to assist with troubleshooting this.

Kind Regards,
Tim

tjharman’s picture

Status: Postponed (maintainer needs more info) » Active

Is there anything more I can do to help with this one?

den33775’s picture

Tran’s picture

Issue summary: View changes

Just got the Same Error

Fatal error: Call to undefined function user_external_login() in

Fresh install of Twitter and Oauth.
appears to be configured correct.
Happens when trying to login via twitter

DamienMcKenna’s picture

DamienMcKenna’s picture

Version: 7.x-5.7 » 7.x-5.x-dev
Status: Active » Needs review
FileSize
642 bytes

This should work.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed 46ee71b on 7.x-5.x
    Issue #1982786 by DamienMcKenna: Fixed signin callback using a D6...

  • DamienMcKenna committed 9a9c862 on 7.x-6.x
    Issue #1982786 by DamienMcKenna: Fixed signin callback using a D6...

Status: Fixed » Closed (fixed)

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