[Plugin: BP-FBConnect] Fatal error on activation (4 posts)

  1. Jeremy Fuksa
    Posted 6 years ago #

    On WP-ยต 2.8.6 and BuddyPress 1.1.2, I cannot get the Facebook Connect plugin to activate. I get the following error:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /..../wp-content/plugins/bp-fbconnect/includes/wp-facebookconnect/fbconnect.php on line 29

    Line 29 is blank. Thoughts?


  2. zvib
    Posted 6 years ago #

    This plugin needs PHP5...

    In includes/wp-facebookconnect/fbconnect.php

    // The following line causes an error in the PHP admin console if
      // you are using php4.
      try { // ATTENTION: This plugin is not compatible with PHP4
        $success = true;
      } catch(Exception $e) {
        $success = false;
        $error = $e->getMessage();

    Your error is due to the use of the object facebook by referencing methods etc by a ->

  3. judecalvillo
    Posted 6 years ago #

    Hi, I'm receiving this same sort of error, but I'm actually running PHP5. I had installed WP in 4, but I've since upgraded my server to 5. Any thoughts?

  4. Sjixxxy
    Posted 6 years ago #

    Same here only on line 37. Running php 5.2.9.

Topic Closed

This topic has been closed to new replies.

About this Topic