object(Exception)#153 (7) {
  ["message":protected]=>
  string(353) "Database error: MySQL server has gone away, Query: SELECT UE.id, UE.date, UE.type, UE.isRead, UE.user_id, UE.parameter,EP.user_id as participantId
    FROM users_event UE
    LEFT JOIN users_eventparticipants EP ON UE.id = EP.event_id
    WHERE UE.user_id = ?  AND isRead = 0
    ORDER BY UE.date DESC
    LIMIT 0,300 , CacheSeconds: 3000, Props: [1750]"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(2006)
  ["file":protected]=>
  string(34) "/var/www/framework/Database/DB.php"
  ["line":protected]=>
  int(179)
  ["trace":"Exception":private]=>
  array(13) {
    [0]=>
    array(5) {
      ["file"]=>
      string(34) "/var/www/framework/Database/DB.php"
      ["line"]=>
      int(234)
      ["function"]=>
      string(13) "queryDatabase"
      ["class"]=>
      string(21) "Marcusoft\Database\DB"
      ["type"]=>
      string(2) "->"
    }
    [1]=>
    array(5) {
      ["file"]=>
      string(34) "/var/www/framework/Database/DB.php"
      ["line"]=>
      int(145)
      ["function"]=>
      string(10) "queryCache"
      ["class"]=>
      string(21) "Marcusoft\Database\DB"
      ["type"]=>
      string(2) "->"
    }
    [2]=>
    array(5) {
      ["file"]=>
      string(34) "/var/www/framework/Database/DB.php"
      ["line"]=>
      int(106)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(21) "Marcusoft\Database\DB"
      ["type"]=>
      string(2) "->"
    }
    [3]=>
    array(5) {
      ["file"]=>
      string(44) "/var/www/framework/Services/EventManager.php"
      ["line"]=>
      int(290)
      ["function"]=>
      string(6) "select"
      ["class"]=>
      string(21) "Marcusoft\Database\DB"
      ["type"]=>
      string(2) "->"
    }
    [4]=>
    array(5) {
      ["file"]=>
      string(44) "/var/www/framework/Services/EventManager.php"
      ["line"]=>
      int(125)
      ["function"]=>
      string(4) "Load"
      ["class"]=>
      string(31) "Marcusoft\Services\EventManager"
      ["type"]=>
      string(2) "->"
    }
    [5]=>
    array(5) {
      ["file"]=>
      string(43) "/var/www/framework/Services/UserManager.php"
      ["line"]=>
      int(511)
      ["function"]=>
      string(19) "LoadUnReadForUserId"
      ["class"]=>
      string(31) "Marcusoft\Services\EventManager"
      ["type"]=>
      string(2) "->"
    }
    [6]=>
    array(5) {
      ["file"]=>
      string(43) "/var/www/framework/Services/UserManager.php"
      ["line"]=>
      int(47)
      ["function"]=>
      string(8) "LoadUser"
      ["class"]=>
      string(30) "Marcusoft\Services\UserManager"
      ["type"]=>
      string(2) "->"
    }
    [7]=>
    array(5) {
      ["file"]=>
      string(43) "/var/www/framework/Modules/MemberModule.php"
      ["line"]=>
      int(58)
      ["function"]=>
      string(16) "LoadUserWithSlug"
      ["class"]=>
      string(30) "Marcusoft\Services\UserManager"
      ["type"]=>
      string(2) "->"
    }
    [8]=>
    array(5) {
      ["file"]=>
      string(45) "/var/www/framework/Content/ContentCreator.php"
      ["line"]=>
      int(41)
      ["function"]=>
      string(11) "loadContext"
      ["class"]=>
      string(30) "Marcusoft\Modules\MemberModule"
      ["type"]=>
      string(2) "->"
    }
    [9]=>
    array(5) {
      ["file"]=>
      string(45) "/var/www/framework/Content/ContentCreator.php"
      ["line"]=>
      int(31)
      ["function"]=>
      string(25) "loadModuleContextAndRoute"
      ["class"]=>
      string(32) "Marcusoft\Content\ContentCreator"
      ["type"]=>
      string(2) "->"
    }
    [10]=>
    array(5) {
      ["file"]=>
      string(32) "/var/www/framework/Framework.php"
      ["line"]=>
      int(65)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(32) "Marcusoft\Content\ContentCreator"
      ["type"]=>
      string(2) "->"
    }
    [11]=>
    array(5) {
      ["file"]=>
      string(32) "/var/www/framework/bootstrap.php"
      ["line"]=>
      int(72)
      ["function"]=>
      string(16) "addContentLoader"
      ["class"]=>
      string(19) "Marcusoft\Framework"
      ["type"]=>
      string(2) "->"
    }
    [12]=>
    array(4) {
      ["file"]=>
      string(30) "/var/www/hockeysnack/index.php"
      ["line"]=>
      int(6)
      ["args"]=>
      array(1) {
        [0]=>
        string(32) "/var/www/framework/bootstrap.php"
      }
      ["function"]=>
      string(7) "include"
    }
  }
  ["previous":"Exception":private]=>
  object(mysqli_sql_exception)#152 (8) {
    ["message":protected]=>
    string(26) "MySQL server has gone away"
    ["string":"Exception":private]=>
    string(0) ""
    ["code":protected]=>
    int(2006)
    ["file":protected]=>
    string(34) "/var/www/framework/Database/DB.php"
    ["line":protected]=>
    int(176)
    ["trace":"Exception":private]=>
    array(14) {
      [0]=>
      array(5) {
        ["file"]=>
        string(34) "/var/www/framework/Database/DB.php"
        ["line"]=>
        int(176)
        ["function"]=>
        string(13) "execute_query"
        ["class"]=>
        string(6) "mysqli"
        ["type"]=>
        string(2) "->"
      }
      [1]=>
      array(5) {
        ["file"]=>
        string(34) "/var/www/framework/Database/DB.php"
        ["line"]=>
        int(234)
        ["function"]=>
        string(13) "queryDatabase"
        ["class"]=>
        string(21) "Marcusoft\Database\DB"
        ["type"]=>
        string(2) "->"
      }
      [2]=>
      array(5) {
        ["file"]=>
        string(34) "/var/www/framework/Database/DB.php"
        ["line"]=>
        int(145)
        ["function"]=>
        string(10) "queryCache"
        ["class"]=>
        string(21) "Marcusoft\Database\DB"
        ["type"]=>
        string(2) "->"
      }
      [3]=>
      array(5) {
        ["file"]=>
        string(34) "/var/www/framework/Database/DB.php"
        ["line"]=>
        int(106)
        ["function"]=>
        string(5) "query"
        ["class"]=>
        string(21) "Marcusoft\Database\DB"
        ["type"]=>
        string(2) "->"
      }
      [4]=>
      array(5) {
        ["file"]=>
        string(44) "/var/www/framework/Services/EventManager.php"
        ["line"]=>
        int(290)
        ["function"]=>
        string(6) "select"
        ["class"]=>
        string(21) "Marcusoft\Database\DB"
        ["type"]=>
        string(2) "->"
      }
      [5]=>
      array(5) {
        ["file"]=>
        string(44) "/var/www/framework/Services/EventManager.php"
        ["line"]=>
        int(125)
        ["function"]=>
        string(4) "Load"
        ["class"]=>
        string(31) "Marcusoft\Services\EventManager"
        ["type"]=>
        string(2) "->"
      }
      [6]=>
      array(5) {
        ["file"]=>
        string(43) "/var/www/framework/Services/UserManager.php"
        ["line"]=>
        int(511)
        ["function"]=>
        string(19) "LoadUnReadForUserId"
        ["class"]=>
        string(31) "Marcusoft\Services\EventManager"
        ["type"]=>
        string(2) "->"
      }
      [7]=>
      array(5) {
        ["file"]=>
        string(43) "/var/www/framework/Services/UserManager.php"
        ["line"]=>
        int(47)
        ["function"]=>
        string(8) "LoadUser"
        ["class"]=>
        string(30) "Marcusoft\Services\UserManager"
        ["type"]=>
        string(2) "->"
      }
      [8]=>
      array(5) {
        ["file"]=>
        string(43) "/var/www/framework/Modules/MemberModule.php"
        ["line"]=>
        int(58)
        ["function"]=>
        string(16) "LoadUserWithSlug"
        ["class"]=>
        string(30) "Marcusoft\Services\UserManager"
        ["type"]=>
        string(2) "->"
      }
      [9]=>
      array(5) {
        ["file"]=>
        string(45) "/var/www/framework/Content/ContentCreator.php"
        ["line"]=>
        int(41)
        ["function"]=>
        string(11) "loadContext"
        ["class"]=>
        string(30) "Marcusoft\Modules\MemberModule"
        ["type"]=>
        string(2) "->"
      }
      [10]=>
      array(5) {
        ["file"]=>
        string(45) "/var/www/framework/Content/ContentCreator.php"
        ["line"]=>
        int(31)
        ["function"]=>
        string(25) "loadModuleContextAndRoute"
        ["class"]=>
        string(32) "Marcusoft\Content\ContentCreator"
        ["type"]=>
        string(2) "->"
      }
      [11]=>
      array(5) {
        ["file"]=>
        string(32) "/var/www/framework/Framework.php"
        ["line"]=>
        int(65)
        ["function"]=>
        string(11) "__construct"
        ["class"]=>
        string(32) "Marcusoft\Content\ContentCreator"
        ["type"]=>
        string(2) "->"
      }
      [12]=>
      array(5) {
        ["file"]=>
        string(32) "/var/www/framework/bootstrap.php"
        ["line"]=>
        int(72)
        ["function"]=>
        string(16) "addContentLoader"
        ["class"]=>
        string(19) "Marcusoft\Framework"
        ["type"]=>
        string(2) "->"
      }
      [13]=>
      array(4) {
        ["file"]=>
        string(30) "/var/www/hockeysnack/index.php"
        ["line"]=>
        int(6)
        ["args"]=>
        array(1) {
          [0]=>
          string(32) "/var/www/framework/bootstrap.php"
        }
        ["function"]=>
        string(7) "include"
      }
    }
    ["previous":"Exception":private]=>
    NULL
    ["sqlstate":protected]=>
    string(5) "HY000"
  }
}