• Resolved lollous

    (@lollous)


    There’s a problem with Facebook Connect (by Sociable.es) and WPBook.

    At the top of – http://apps.facebook.com/pardipalle/ – appears this:

    Warning: Missing argument 2 for Facebook::__construct(), called in /home/lollousn/public_html/wordpress/wp-content/plugins/wpbook/theme/index.php on line 21 and defined in /home/lollousn/public_html/wordpress/wp-content/plugins/fbconnect/facebook-client/facebook.php on line 66
    
    Warning: Illegal offset type in isset or empty in /home/lollousn/public_html/wordpress/wp-content/plugins/fbconnect/facebook-client/facebook.php on line 547

    and also appears when i check permissions.. :\

    In addition, when i publish a post in wordpress appears this:

    Fatal error: Call to undefined method Facebook::api() in /home/lollousn/public_html/wordpress/wp-content/plugins/wpbook/includes/publish_to_facebook.php on line 134

    If I disable Facebook Connect, everything works fine…
    Any suggestion??
    I’ve already created two different app in Facebook… but the problem persist :\

    Sorry for my bad english…. and thanks… wpbook rulez!! 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor B.

    (@bandonrandon)

    Stop using Facebook Connect 😉 No but seriously, this is a known problem between FB Connect and WPBook they are both trying to access the FB Api and it’s making the website grumpy. Are you using WPBook 2.1.x?

    Thread Starter lollous

    (@lollous)

    ahahahah LOL!!
    Unfortunately I must use Facebook Connect for accounts and comments :\
    But it seems strange since I’m using two separate Facebook apps… 🙁
    However yes.. I’m using WPBook 2.1.1
    I hope that sooner or later the problem is solved 😉 thanks!

    Plugin Author John Eckman

    (@johneckman)

    The problem isn’t just that you’re using Facebook Connect and WPBook, but that Facebook Connect uses the old version of the Facebook api and WPBook uses the new version.

    Both include a facebook.php and declare a Facebook class, and since both can’t be active at once, only one wins.

    In other words, I don’t think this will ever be supported until Facebook Connect plugin is updated to use the new Facebook PHP SDK.

    Plugin Author John Eckman

    (@johneckman)

    I suppose you could try taking the facebook.php from wp-content/plugins/wpbook/client/facebook.php and replace the one in the sociable plugin – in effect updating their Facebook client – but I’ve no idea if it will work or not.

    Thread Starter lollous

    (@lollous)

    I tried.. didn’t work.. if I find something I’ll let you know 😛

    Plugin Contributor B.

    (@bandonrandon)

    Are you only seeing the conflict inside of your App or is it happening throughout the site? If it’s only happening inside Facebook there may be a hook to disable FB Connect we can use. Of course then you wouldn’t have FB Connect inside Facebook but I don’t think you’ll need it inside because they are already connected with Facebook.

    Plugin Author John Eckman

    (@johneckman)

    Marking this resolved in the sense that I don’t see this as a bug with WPBook.

    You can’t run two different versions of the Facebook API in the same namespace, so you can’t run two WordPress plugins using different versions of the API at the same time.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: WPBook] Facebook connect conflict’ is closed to new replies.