Unhandled Error!

Session not active, could not store state.

Document /vendors/facebook/php-sdk-v4/src/Facebook/FacebookRedirectLoginHelper.php
Document type PHP document
Line 254
Exception class Facebook\FacebookSDKException

Code Highlight

   * @throws FacebookSDKException
   */
  protected function storeState($state)
  {
    if ($this->checkForSessionStatus === true
      && session_status() !== PHP_SESSION_ACTIVE) {
      throw new FacebookSDKException(
        'Session not active, could not store state.', 720
      );
    }
    $_SESSION[$this->sessionPrefix . 'state'] = $state;
  }
 
# Call Stack Code Document Line
11 Facebook\FacebookRedirectLoginHelper->storeState(()) /vendors/facebook/php-sdk-v4/src/Facebook/FacebookRedirectLoginHelper.php 97
10 Facebook\FacebookRedirectLoginHelper->getLoginUrl(()) /modules/polargram/classes/polargram_module.php 365
9 Polargram_Module->facebook_auth(()) /controllers/application.php 194
8 Application->find_access_point(()) /controllers/application.php 66
7 Application->On404(()) /phproad/modules/phpr/classes/phpr_controller.php 174
6 Phpr_Controller->executeAction(()) /phproad/modules/phpr/classes/phpr_controller.php 85
5 Phpr_Controller->_run(()) /phproad/modules/phpr/classes/phpr_response.php 68
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 38
3 Phpr_Response->open(()) /phproad/system/phproad.php 31
2 include('/home/131153.cloudwaysapps.com/pkkafcpyxj/public_html/phproad/system/phproad.php') /boot.php 116
1 require_once('/home/131153.cloudwaysapps.com/pkkafcpyxj/public_html/boot.php') /index.php 6