• Resolved wanderingstan

    (@wanderingstan)


    On installing on a new install (WP, buddypress, and wp-fb autoconnect) and logging in for the first time, I get several “Undefined index” errors. (Shown below). I did a little snooping and saw that the $fbuser object in _process_login.php/jfb_process_login() contains only keys for name and id. I wonder if something changed on Facebook in the last month, as I also noticed that an older site of mine using wb-fb-autoconnect recently stopped working because it requested the read_stream permission.

    Here is the error I’m getting:

    Notice: Undefined index: link in /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php on line 78

    Notice: Undefined index: email in /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php on line 89

    Notice: Undefined index: email in /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php on line 94

    Warning: Cannot modify header information – headers already sent by (output started at /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php:78) in /home1/wanderin/public_html/mysite.com/wp-includes/pluggable.php on line 925

    Warning: Cannot modify header information – headers already sent by (output started at /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php:78) in /home1/wanderin/public_html/mysite.com/wp-includes/pluggable.php on line 926

    Warning: Cannot modify header information – headers already sent by (output started at /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php:78) in /home1/wanderin/public_html/mysite.com/wp-includes/pluggable.php on line 927

    Warning: Cannot modify header information – headers already sent by (output started at /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php:78) in /home1/wanderin/public_html/mysite.com/wp-content/plugins/wp-fb-autoconnect/_process_login.php on line 303

    My setup:

    Server URL: https://familyconnect.info
    Site URL: https://familyconnect.info
    Wordpress URL: https://familyconnect.info
    Wordpress Version: 4.2.2
    BuddyPress Version: 2.3.2.1
    Plugin Version: 4.0.10
    Premium Version: Not Detected
    Premium Number: Not Detected
    WP MultiSite: Off / Disabled
    WP Locale: en_US
    WP Debug: Yes
    WP Engine: No
    Facebook App: 1452253618410182
    Facebook API: OK
    Facebook Reachable: An access token is required to request this resource.
    Facebook Validated: OK
    Server: Apache
    Browser: Firefox 39.0 for Mac
    Theme: Twenty Fifteen
    Active Plugins: 2
    –>BuddyPress 2.3.2.1
    –>WP-FB-AutoConnect 4.0.10

    https://www.ads-software.com/plugins/wp-fb-autoconnect/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author justin_k

    (@justin_k)

    Hi wanderingstan,

    Thanks for the report; it looks like Facebook has indeed (once again) broken some longstanding behavior in Graph v2.4, causing this issue for new apps (which always use the most recent API version). Existing sites should be unaffected, but I’ll get this fixed & release an update as soon as possible ??

    Regarding read_stream, my plugin doesn’t use that permission. Perhaps you mean publish_stream, which was replaced by publish_actions in 06/2014, and which Facebook then broke completely on April 30th of this year (aka the ‘wall announcement’ feature)?

    J~

    Plugin Author justin_k

    (@justin_k)

    Fixed in 4.1.0.

    Thread Starter wanderingstan

    (@wanderingstan)

    Thanks! The ‘ol Facebook API dance. ??

    Re read stream: I should have been more clear. I had added it as it the wpfb_extended_permissions() hook. They still let me use it on my old site, but it broke on the new one, leading me to think the API had again changed.

    Plugin Author justin_k

    (@justin_k)

    Ah, gotcha ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"Undefined index" errors upon login.’ is closed to new replies.