Notice: Undefined index: restAPI in /wwwfiles/cu/2.1/includes/obj/User.class.php on line 2381

Error logging in to Facebook.

Fatal Error: An error was encountered while attempting to log in to Facebook.FacebookApiException Object ( [result:protected] => Array ( [error] => Array ( [message] => An active access token must be used to query information about the current user. [type] => OAuthException [code] => 2500 ) ) [message:protected] => An active access token must be used to query information about the current user. [string:Exception:private] => [code:protected] => 0 [file:protected] => /wwwfiles/cu/2.1/includes/apiObj/lib/facebook-php-3.1.1/src/base_facebook.php [line:protected] => 1039 [trace:Exception:private] => Array ( [0] => Array ( [file] => /wwwfiles/cu/2.1/includes/apiObj/lib/facebook-php-3.1.1/src/base_facebook.php [line] => 744 [function] => throwAPIException [class] => BaseFacebook [type] => -> [args] => Array ( [0] => Array ( [error] => Array ( [message] => An active access token must be used to query information about the current user. [type] => OAuthException [code] => 2500 ) ) ) ) [1] => Array ( [function] => _graph [class] => BaseFacebook [type] => -> [args] => Array ( [0] => me [1] => GET ) ) [2] => Array ( [file] => /wwwfiles/cu/2.1/includes/apiObj/lib/facebook-php-3.1.1/src/base_facebook.php [line] => 553 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Facebook Object ( [appId:protected] => 310881452269884 [apiSecret:protected] => 48e4b288711744d84cc92a080e21bb5e [user:protected] => [signedRequest:protected] => [state:protected] => [accessToken:protected] => 310881452269884|48e4b288711744d84cc92a080e21bb5e [fileUploadSupport:protected] => ) [1] => _graph ) [1] => Array ( [0] => me [1] => GET ) ) ) [3] => Array ( [file] => /wwwfiles/cu/2.1/includes/apiObj/FB.class.php [line] => 710 [function] => api [class] => BaseFacebook [type] => -> [args] => Array ( [0] => me [1] => GET ) ) [4] => Array ( [function] => getUserInfo [class] => FB [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => /wwwfiles/cu/2.1/includes/apiObj/FB.class.php [line] => 235 [function] => call_user_func [args] => Array ( [0] => Array ( [0] => FB Object ( [facebook] => Facebook Object ( [appId:protected] => 310881452269884 [apiSecret:protected] => 48e4b288711744d84cc92a080e21bb5e [user:protected] => [signedRequest:protected] => [state:protected] => [accessToken:protected] => 310881452269884|48e4b288711744d84cc92a080e21bb5e [fileUploadSupport:protected] => ) [session] => [user] => [isIphone] => [req_perms] => email,publish_stream,offline_access,video_upload [url] => http://dotfreeride.com/api/fbLogin.php?topicName=freeride ) [1] => getUserInfo ) ) ) [6] => Array ( [file] => /wwwfiles/cu/2.1/includes/obj/User.class.php [line] => 2384 [function] => logIn [class] => FB [type] => -> [args] => Array ( [0] => email,publish_stream,offline_access,video_upload [1] => /api/fbLogin.php?topicName=freeride [2] => [3] => getUserInfo ) ) [7] => Array ( [file] => /wwwfiles/cu/2.1/api/fbLogin.php [line] => 7 [function] => loginWithFB [class] => User [type] => -> [args] => Array ( [0] => freeride ) ) ) [previous:Exception:private] => ) in /wwwfiles/cu/2.1/includes/apiObj/FB.class.php on line 362