Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/app/domain/services/search/DAQuery.php on line 237
Error
Error

Exception id: d18573a9-7e7f-45e4-a0d5-f2fc17ebe486

Mako: 9.1.4, PHP: 8.1.30

ErrorException (1)

Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes).

Stack Trace
Environment
Database
- Error ErrorException
Location: /var/www/html/app/domain/services/search/DAQuery.php on line 237.
231
            } 
232
            catch (Error $error) {
233
                echo 'Not executed!';
234
            }
235
             */
236
            $c = $this->getContent($url);
237
            $rawpersons = json_decode($c);   //$this->getContent($url));
238
            if (empty($rawpersons)) {
239
                //return NULL;
240
            } else if ($getRAW === TRUE) {
241
                $persons = array_merge($persons, $rawpersons);
242
            } else {
243
                $persons = array_merge($persons, $this->getPersons($rawpersons, $getKilde));
1 Internal mako\error\ErrorHandler->mako\error\{closure}()

[internal]

os Linux hbr-deployment-8598d95b5d-xnmk9 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
server time 2024-12-03 11:47:11 UTC
$_SERVER
  • HTTPS

    (2) "on"
    

  • HTTP_HOST

    (10) "histreg.no"
    

  • HTTP_X_REQUEST_ID

    (32) "14d51f09e0efb314d7b5145767e928c0"
    

  • HTTP_X_REAL_IP

    (12) "128.39.57.53"
    

  • HTTP_X_FORWARDED_FOR

    (12) "128.39.57.53"
    

  • HTTP_X_FORWARDED_HOST

    (10) "histreg.no"
    

  • HTTP_X_FORWARDED_PORT

    (3) "443"
    

  • HTTP_X_FORWARDED_PROTO

    (5) "https"
    

  • HTTP_X_FORWARDED_SCHEME

    (5) "https"
    

  • HTTP_X_SCHEME

    (5) "https"
    

  • HTTP_USER_AGENT

    (40) "CCBot/2.0 (https://commoncrawl.org/faq/)"
    

  • HTTP_ACCEPT

    (63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
    

  • HTTP_ACCEPT_LANGUAGE

    (14) "en-US,en;q=0.5"
    

  • HTTP_ACCEPT_ENCODING

    (7) "br,gzip"
    

  • PATH

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

  • SERVER_SIGNATURE

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

  • SERVER_SOFTWARE

    (22) "Apache/2.4.62 (Debian)"
    

  • SERVER_NAME

    (10) "histreg.no"
    

  • SERVER_ADDR

    (11) "172.20.6.64"
    

  • SERVER_PORT

    (2) "80"
    

  • REMOTE_ADDR

    (12) "172.20.3.115"
    

  • DOCUMENT_ROOT

    (13) "/var/www/html"
    

  • REQUEST_SCHEME

    (4) "http"
    

  • CONTEXT_PREFIX

    ""
    

  • CONTEXT_DOCUMENT_ROOT

    (13) "/var/www/html"
    

  • SERVER_ADMIN

    (19) "webmaster@localhost"
    

  • SCRIPT_FILENAME

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

  • REMOTE_PORT

    (5) "60588"
    

  • GATEWAY_INTERFACE

    (7) "CGI/1.1"
    

  • SERVER_PROTOCOL

    (8) "HTTP/1.1"
    

  • REQUEST_METHOD

    (3) "GET"
    

  • QUERY_STRING

    ""
    

  • REQUEST_URI

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

  • SCRIPT_NAME

    (10) "/index.php"
    

  • PATH_INFO

    (24) "/person/pd00000000531206"
    

  • PATH_TRANSLATED

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

  • PHP_SELF

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

  • REQUEST_TIME_FLOAT

    1733226390.9724
    

  • REQUEST_TIME

    1733226390
    

ohbr connection (0)
No database queries have been logged. Have you enabled the query log?