Ole Knudsen

Permanent ID: pd00000010039623
Checking browser...

Livsløpstabell - Oversikt over kilder med personen

Nr Dato Kilde PFID Rolle Navn Fødselsdato Fødested Bosted Fam. stil. Sivst. Yrke Far/brudgom Mor/brud Partner Barn/andre Usikker Sikker
1 1785 MINI, Modum, 1783-1819 pd00000010039623 far Ole Knudsen Schalstad Ej Anne Olsd Knud HP
Error
Error

Exception id: 233be7fe-5718-4597-a7a1-cf005145aeb8

mako\database\exceptions\DatabaseException (42000)

SQLSTATE[42000]: Syntax error or access violation: 1461 Can't create more than max_prepared_stmt_count statements (current value: 16382) [ SELECT COUNT(*) FROM `mako_sessions` WHERE `id` = '74e268b2fc369f46abeded11adfd1f1948a9efd4ac5493b3551968c3b1b9cfb1' ].

Previous Exceptions

  1. PDOException (42000) in /var/www/html/vendor/mako/framework/src/mako/database/connections/Connection.php on line 453.

    SQLSTATE[42000]: Syntax error or access violation: 1461 Can't create more than max_prepared_stmt_count statements (current value: 16382).

Stack Trace
Environment
Database
- Error mako\database\exceptions\DatabaseException
Location: /var/www/html/vendor/mako/framework/src/mako/database/connections/Connection.php on line 462.
456
			if ($this->isConnectionLostAndShouldItBeReestablished()) {
457
				$this->reconnect();
458

459
				goto execute;
460
			}
461

462
			throw new DatabaseException("{$e->getMessage()} [ {$this->prepareQueryForLog($query, $params)} ].", (int) $e->getCode(), $e);
463
		}
464

465
		if ($this->enableLog) {
466
			$this->log($query, $params, $start);
467
		}
468

7 Vendor mako\database\connections\Connection->prepareAndExecute()
Location: /var/www/html/vendor/mako/framework/src/mako/database/connections/Connection.php on line 529.
523

524
	/**
525
	 * Returns the value of the first column of the first row of the result set or NULL if nothing is found.
526
	 */
527
	public function column(string $query, array $params = []): mixed
528
	{
529
		return $this->prepareAndExecute($query, $params)->fetch(PDO::FETCH_NUM)[0] ?? null;
530
	}
531

532
	/**
533
	 * Returns an array containing the values of the indicated 0-indexed column.
534
	 */
535
	public function columns(string $query, array $params = []): array

Arguments:

  1. (51) "SELECT COUNT(*) FROM `mako_sessions` WHERE `id` = ?"
    
  2. array:1 [
      0 => (64) "74e268b2fc369f46abeded11adfd1f1948a9efd4ac5493b3551968c3b1b9cfb1"
    ]
    
6 Vendor mako\database\connections\Connection->column()
Location: /var/www/html/vendor/mako/framework/src/mako/database/query/Query.php on line 1521.
1515
	{
1516
		$this->select([new Raw(sprintf($function, is_array($column) ? $this->compiler->columns($column) : $this->compiler->column($column)))]);
1517

1518
		if ($this->inSubqueryContext === false) {
1519
			$query = $this->compiler->select();
1520

1521
			return $this->connection->column($query['sql'], $query['params']);
1522
		}
1523
	}
1524

1525
	/**
1526
	 * Returns the minimum value for the chosen column.
1527
	 */

Arguments:

  1. (51) "SELECT COUNT(*) FROM `mako_sessions` WHERE `id` = ?"
    
  2. array:1 [
      0 => (64) "74e268b2fc369f46abeded11adfd1f1948a9efd4ac5493b3551968c3b1b9cfb1"
    ]
    
5 Vendor mako\database\query\Query->aggregate()
Location: /var/www/html/vendor/mako/framework/src/mako/database/query/Query.php on line 1562.
1556

1557
	/**
1558
	 * Returns the number of rows.
1559
	 */
1560
	public function count(Raw|string $column = '*'): int
1561
	{
1562
		return (int) $this->aggregate('COUNT(%s)', $column);
1563
	}
1564

1565
	/**
1566
	 * Returns the number of distinct values of the chosen column.
1567
	 */
1568
	public function countDistinct(array|Raw|string $column): int

Arguments:

  1. (9) "COUNT(%s)"
    
  2. (1) "*"
    
4 Vendor mako\database\query\Query->count()
Location: /var/www/html/vendor/mako/framework/src/mako/session/stores/Database.php on line 50.
44
	 */
45
	#[Override]
46
	public function write(#[SensitiveParameter] string $sessionId, array $sessionData, int $dataTTL): void
47
	{
48
		$sessionData = serialize($sessionData);
49

50
		if ($this->table()->where('id', '=', $sessionId)->count() != 0) {
51
			// Update existing session data
52

53
			$this->table()->where('id', '=', $sessionId)->update(['data' => $sessionData, 'expires' => (time() + $dataTTL)]);
54
		}
55
		else {
56
			// Insert new session data
3 Vendor mako\session\stores\Database->write()
Location: /var/www/html/vendor/mako/framework/src/mako/session/Session.php on line 158.
152

153
		$this->sessionData['mako:flashdata'] = $this->flashData;
154

155
		// Write session data
156

157
		if (!$this->destroyed) {
158
			$this->store->write($this->sessionId, $this->sessionData, $this->options['data_ttl']);
159
		}
160
	}
161

162
	/**
163
	 * Calls the session store garbage collector.
164
	 */

Arguments:

  1. SensitiveParameterValue {#1320
      -value: ? mixed
    }
    
  2. (542) "a:4:{s:10:"mako:token";s:64:"164f4c26e89f47defd0c2127b5103740fda7234ef659f2fd2fbf43c17fd9014d";s:7:"lasturl";s:52:"https://histreg.no/index.php/person/pd00000010039623";s:5:"pages";a:1:{s:16:"pd00000010039623";a:8:{s:4:"pfid";s:16:"pd00000010039623";s:4:"name";s:11:"Ole Knudsen";s:9:"birthdate";s:0:"";s:10:"birthplace";N;s:9:"deathdate";s:0:"";s:10:"deathplace";s:0:"";s:10:"profession";s:0:"";s:6:"source";s:94:"<a href="https://www.digitalarkivet.no/source/8496" target="_blank">MINI, Modum, 1783-1819</a>";}}s:14:"mako:flashdata";a:0:{}}"
    
  3. 7200
    
2 Vendor mako\session\Session->commit()
Location: /var/www/html/vendor/mako/framework/src/mako/session/Session.php on line 100.
94
	/**
95
	 * Destructor.
96
	 */
97
	public function __destruct()
98
	{
99
		if ($this->autoCommit) {
100
			$this->commit();
101
		}
102
	}
103

104
	/**
105
	 * Starts the session.
106
	 */
1 Internal mako\session\Session->__destruct()

[internal]

OS Linux hbr-deployment-f5d69874-lcpzd 6.18.54-talos #1 SMP PREEMPT_DYNAMIC Mon Sep 28 13:59:58 UTC 2026 x86_64
Server time 2026-10-29 03:06:48 UTC
Mako environment default
Extensions
  1. apache2handler

  2. Core

  3. ctype

  4. curl

  5. date

  6. dom

  7. fileinfo

  8. filter

  9. hash

  10. iconv

  11. json

  12. lexbor

  13. libxml

  14. mbstring

  15. mysqli

  16. mysqlnd

  17. openssl

  18. pcre

  19. PDO

  20. pdo_mysql

  21. pdo_sqlite

  22. Phar

  23. posix

  24. random

  25. Reflection

  26. session

  27. SimpleXML

  28. sodium

  29. SPL

  30. sqlite3

  31. standard

  32. tokenizer

  33. uri

  34. xml

  35. xmlreader

  36. xmlwriter

  37. Zend OPcache

  38. zip

  39. zlib



$_SERVER
  1. HTTPS

    (2) "on"
    

  2. HTTP_HOST

    (10) "histreg.no"
    

  3. HTTP_X_REQUEST_ID

    (32) "cb32c727696b35b7fe5d0c127a5b9653"
    

  4. HTTP_X_REAL_IP

    (14) "216.73.216.115"
    

  5. HTTP_X_FORWARDED_FOR

    (14) "216.73.216.115"
    

  6. HTTP_X_FORWARDED_HOST

    (10) "histreg.no"
    

  7. HTTP_X_FORWARDED_PORT

    (3) "443"
    

  8. HTTP_X_FORWARDED_PROTO

    (5) "https"
    

  9. HTTP_X_FORWARDED_SCHEME

    (5) "https"
    

  10. HTTP_X_SCHEME

    (5) "https"
    

  11. HTTP_ACCEPT

    (3) "*/*"
    

  12. HTTP_USER_AGENT

    (103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
    

  13. HTTP_ACCEPT_ENCODING

    (23) "gzip, br, zstd, deflate"
    

  14. HTTP_COOKIE

    (141) "mako_session=58103058de1cbce8f471d7e356d7fa76c1665485f8b46ff595e56f00e9a556b774e268b2fc369f46abeded11adfd1f1948a9efd4ac5493b3551968c3b1b9cfb1"
    

  15. PATH

    (60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    

  16. SERVER_SIGNATURE

    (71) "<address>Apache/2.4.69 (Debian) Server at histreg.no Port 80</address>\n"
    

  17. SERVER_SOFTWARE

    (22) "Apache/2.4.69 (Debian)"
    

  18. SERVER_NAME

    (10) "histreg.no"
    

  19. SERVER_ADDR

    (12) "10.244.0.228"
    

  20. SERVER_PORT

    (2) "80"
    

  21. REMOTE_ADDR

    (13) "10.244.12.136"
    

  22. DOCUMENT_ROOT

    (13) "/var/www/html"
    

  23. REQUEST_SCHEME

    (4) "http"
    

  24. CONTEXT_PREFIX

    ""
    

  25. CONTEXT_DOCUMENT_ROOT

    (13) "/var/www/html"
    

  26. SERVER_ADMIN

    (19) "webmaster@localhost"
    

  27. SCRIPT_FILENAME

    (23) "/var/www/html/index.php"
    

  28. REMOTE_PORT

    (5) "53902"
    

  29. GATEWAY_INTERFACE

    (7) "CGI/1.1"
    

  30. SERVER_PROTOCOL

    (8) "HTTP/1.1"
    

  31. REQUEST_METHOD

    (3) "GET"
    

  32. QUERY_STRING

    ""
    

  33. REQUEST_URI

    (34) "/index.php/person/pd00000010039623"
    

  34. SCRIPT_NAME

    (10) "/index.php"
    

  35. PATH_INFO

    (24) "/person/pd00000010039623"
    

  36. PATH_TRANSLATED

    (37) "/var/www/html/person/pd00000010039623"
    

  37. PHP_SELF

    (34) "/index.php/person/pd00000010039623"
    

  38. REQUEST_TIME_FLOAT

    1793243207.8691
    

  39. REQUEST_TIME

    1793243207
    

$_COOKIE
  1. mako_session

    (128) "58103058de1cbce8f471d7e356d7fa76c1665485f8b46ff595e56f00e9a556b774e268b2fc369f46abeded11adfd1f1948a9efd4ac5493b3551968c3b1b9cfb1"
    

0 queries have been executed on the login connection
No database queries have been logged. Have you enabled the query log?
0 queries have been executed on the ohbr connection
No database queries have been logged. Have you enabled the query log?