Download & Extend

Fatal error: Call to a member function get_loggedin_user() on a non-object in

Project:Drupal for Facebook
Version:6.x-3.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Fatal error: Call to a member function get_loggedin_user() on a non-object in /home/pojack1/public_html/learntheinternet/modules/fb/fb_connect.module on line 437

Got this after updating o the latest version.
I can't seem to get around this. I am thinking it might be a bad upgrade or something.

I have to go into phpmyadmin and turn the status of the connect module to 0. Otherwise this is it.

Antonio

Comments

#1

Fatal error: Call to a member function get_loggedin_user() on a non-object in /home/pojack1/public_html/learntheinternet/modules/fb/fb_connect.module on line 437

Still getting this after 2 most recent updates. Still an issue.

It worked before the last 2 updates, and I had an app working on last version before june 24.

Antonio

#2

A fresh install, trying to create my first app i get:
Fatal error: Call to undefined method Facebook::get_loggedin_user() in /var/aegir/drupal-facebook-6.x-alpha1/sites/all/modules/fb/fb.module on line 220

#3

Category:bug report» support request

I find it hard to believe this problem occurs in the 3.x branch, as this bug reports.

More likely, you've installed the 2.x branch, but are using the more recent facebook sdk. You have to either find an old copy of the facebook api which version 2.x is compatible with, or upgrade to 3.x. I recommend the latter.

nobody click here