Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20615

Whoops\Exception\ErrorException session_regenerate_id(): Cannot regenerate session id - session is not active

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Labels:
      None
    • ToDo:

      Description

      Upon logging out of UCP:

      Whoops\Exception\ErrorException thrown with message "session_regenerate_id(): Cannot regenerate session id - session is not active"

      Stacktrace:
      #2 Whoops\Exception\ErrorException in /var/www/html/admin/modules/ucp/htdocs/includes/User.class.php:236
      #1 session_regenerate_id in /var/www/html/admin/modules/ucp/htdocs/includes/User.class.php:236
      #0 UCP\User:logout in /var/www/html/admin/modules/ucp/htdocs/index.php:36

      unsetting $_SESSION['id'] before calling session_regenerate_id() leads to this error. No need to unset because session_regenerate_id(true) deletes the old session first.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                billsimon billsimon
                Reporter:
                billsimon billsimon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.