mhaas / fbwlan

A simple, easy social wlan hotspot. Exchange internet access for Facebook check-ins
GNU Affero General Public License v3.0
107 stars 56 forks source link

"FacebookRedirectLoginHelper.php" fatal error #29

Closed xmflsct closed 7 years ago

xmflsct commented 7 years ago

I am trying to set up a new gateway system on Raspberry Pi. My previous auth server stays unchanged. However after I set up wifidog, etc., I get the following error when I try to auth through Facebook. My previous gateway based on openwrt was working perfectly. I am not sure if this is an issue of my set up on Raspberry Pi, or the auth server? Auth through code is working fine.

Fatal error: Cannot use object of type stdClass as array in /include/facebook-php-sdk-v4/src/Facebook/FacebookRedirectLoginHelper.php on line 192

mhaas commented 7 years ago

I have recently started seeing the same error, but I haven't had time to investigate. Please let me know if you find a fix.

mhaas commented 7 years ago

Looks like a fix exists and we need to update the Facebook SDK. https://github.com/facebook/php-graph-sdk/pull/393

mhaas commented 7 years ago

@xmflsct Fixed. Make sure to update your checkout and your submodules! Let met know if this works.

xmflsct commented 7 years ago

@mhaas Thank you! It works great again!