Hi, Thanks for this awesome module. Its a huge help in getting traction with the facebook user base.
I just installed it and came across this error -
>>> Start Error

Fatal error: Cannot use string offset as an array in /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/fbconnect.module on line 529

<<< End Error

I see it on the following page>>>> http://www.ayeornay.com/fbconnect/register/step2

You can reproduce it by going to>>>> http://www.ayeornay.com/user

The relevant function is>>> fbconnect_get_facebook_username
The relevant line is>>> return check_plain($result[0]['name']);

Is anyone else seeing this?
Any help much appreciated. Thanks

Comments

njehlen’s picture

Yes, though I'm getting it in line 527

aon’s picture

mine has two lines of debug, hence a different line from yours. its the same thing. please help

LaNets’s picture

Assigned: Unassigned » LaNets
Status: Active » Fixed

Fixed in BETA6

raffaele.forte’s picture

No fixed in beta6! please control ...

raffaele.forte’s picture

Priority: Normal » Critical
Status: Fixed » Active

Error! please control

tsi’s picture

Version: 6.x-1.0-beta4 » 6.x-1.0-beta7

I get a similar error on line 415 with beta7.
Is this the same problem or sould I open a new issue ?

kevinhaddock’s picture

I just got the same error on line 415 in the beta7 version.

Fatal error: Cannot use string offset as an array in /home/username/public_html/sites/all/modules/fbconnect/fbconnect.module on line 415

// http://www.domain.com/fbconnect/register/import --->> This page works fine...
// http://www.domain.com/fbconnect/register/create --->> This is where I get the error message

This problem occurs when I am creating a Drupal account after having logged in with FBconnect.

My Drupal version is 6.12...

Thank you,

Kevin

Merci La Net Scouade pour ce super module! J'ai hate de l'utiliser.

LaNets’s picture

Status: Active » Fixed
LaNets’s picture

Status: Fixed » Closed (fixed)