Facebook error 2: Facebook\FacebookSDKException Object ( [message:protected] => Session not active, could not load state. [string:Exception:private] => [code:protected] => 721 [file:protected] => C:\wamp\www\ididit\facebook-php-sdk-v4\src\Facebook\FacebookRedirectLoginHelper.php [line:protected] => 208 [trace:Exception:private] => Array ( [0] => Array ( [file] => C:\wamp\www\ididit\facebook-php-sdk-v4\src\Facebook\FacebookRedirectLoginHelper.php [line] => 132 [function] => loadState [class] => Facebook\FacebookRedirectLoginHelper [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => C:\wamp\www\ididit\mediavault\Registration\code\FacebookLogin.php [line] => 20 [function] => getSessionFromRedirect [class] => Facebook\FacebookRedirectLoginHelper [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => C:\wamp\www\ididit\framework\control\RequestHandler.php [line] => 288 [function] => login [class] => FacebookLogin_Controller [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) ) ) [3] => Array ( [file] => C:\wamp\www\ididit\framework\control\Controller.php [line] => 194 [function] => handleAction [class] => RequestHandler [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => login ) ) [4] => Array ( [file] => C:\wamp\www\ididit\framework\control\RequestHandler.php [line] => 200 [function] => handleAction [class] => Controller [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => login ) ) [5] => Array ( [file] => C:\wamp\www\ididit\framework\control\Controller.php [line] => 153 [function] => handleRequest [class] => RequestHandler [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => DataModel Object ( [customDataLists:protected] => Array ( ) ) ) ) [6] => Array ( [file] => C:\wamp\www\ididit\cms\code\controllers\ContentController.php [line] => 202 [function] => handleRequest [class] => Controller [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => DataModel Object ( [customDataLists:protected] => Array ( ) ) ) ) [7] => Array ( [file] => C:\wamp\www\ididit\framework\control\Director.php [line] => 366 [function] => handleRequest [class] => ContentController [type] => -> [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => DataModel Object ( [customDataLists:protected] => Array ( ) ) ) ) [8] => Array ( [file] => C:\wamp\www\ididit\framework\control\Director.php [line] => 152 [function] => handleRequest [class] => Director [type] => :: [args] => Array ( [0] => SS_HTTPRequest Object ( [url:protected] => FacebookLogin_Controller/login [dirParts:protected] => Array ( ) [extension:protected] => [httpMethod:protected] => GET [getVars:protected] => Array ( [url] => /FacebookLogin_Controller/login ) [postVars:protected] => Array ( ) [headers:protected] => Array ( [Mod-Rewrite] => On [Host] => www.ididit.co.nz [Accept-Encoding] => x-gzip, gzip, deflate [User-Agent] => CCBot/2.0 (http://commoncrawl.org/faq/) [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ) [body:protected] => [allParams:protected] => Array ( [Controller] => FacebookLogin_Controller [Action] => login [ID] => [OtherID] => ) [latestParams:protected] => Array ( [Action] => login [ID] => [OtherID] => ) [routeParams:protected] => Array ( [Controller] => * ) [unshiftedButParsedParts:protected] => 2 ) [1] => Session Object ( [data:protected] => [changedData:protected] => Array ( ) ) [2] => DataModel Object ( [customDataLists:protected] => Array ( ) ) ) ) [9] => Array ( [file] => C:\wamp\www\ididit\framework\main.php [line] => 189 [function] => direct [class] => Director [type] => :: [args] => Array ( [0] => /FacebookLogin_Controller/login [1] => DataModel Object ( [customDataLists:protected] => Array ( ) ) ) ) ) [previous:Exception:private] => [xdebug_message] => ( ! ) Facebook\FacebookSDKException: Session not active, could not load state. in C:\wamp\www\ididit\facebook-php-sdk-v4\src\Facebook\FacebookRedirectLoginHelper.php on line 208 Call Stack #TimeMemoryFunctionLocation 10.0006283616{main}( )..\main.php:0 20.113613596672Director::direct( )..\main.php:189 30.119514252784Director::handleRequest( )..\Director.php:152 40.140515062472ContentController->handleRequest( )..\Director.php:366 50.141015069888Controller->handleRequest( )..\ContentController.php:202 60.301918848136RequestHandler->handleRequest( )..\Controller.php:153 70.302518856424Controller->handleAction( )..\RequestHandler.php:200 80.302518856896RequestHandler->handleAction( )..\Controller.php:194 90.302618857528FacebookLogin_Controller->login( )..\RequestHandler.php:288 100.304418980568Facebook\FacebookRedirectLoginHelper->getSessionFromRedirect( )..\FacebookLogin.php:20 110.304518980704Facebook\FacebookRedirectLoginHelper->loadState( )..\FacebookRedirectLoginHelper.php:132 )