Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 28472616 bytes) in /usr/local/vufind/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php on line 527
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 134217728 bytes exhausted (tried to allocate 28472616 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 134217728 bytes exhausted (tried to allocate 28472616 bytes)" Stacktrace: #2 Whoops\Exception\ErrorException in /usr/local/vufind/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:527 #1 Whoops\Run:handleError in /usr/local/vufind/vendor/filp/whoops/src/Whoops/Run.php:514 #0 Whoops\Run:handleShutdown in [internal]:0
2
Whoops\Exception\ErrorException
/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php527
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php514
0
Whoops\Run handleShutdown
[internal]0
            unset($__vars['this']);
        }
        extract($__vars);
        unset($__vars); // remove $__vars from local scope
        // @codingStandardsIgnoreEnd
 
        $this->__content = '';
        while ($this->__template = array_pop($this->__templates)) {
            $this->__file = $this->resolver($this->__template);
            if (! $this->__file) {
                throw new Exception\RuntimeException(sprintf(
                    '%s: Unable to render template "%s"; resolver could not resolve to a file',
                    __METHOD__,
                    $this->__template
                ));
            }
            try {
                ob_start();
                $includeReturn   = include $this->__file;
                $this->__content = ob_get_clean();
            } catch (Throwable $ex) {
                ob_end_clean();
                throw $ex;
            }
 
            if ($includeReturn === false && empty($this->__content)) {
                throw new Exception\UnexpectedValueException(sprintf(
                    '%s: Unable to render template "%s"; file include failed',
                    __METHOD__,
                    $this->__file
                ));
            }
        }
 
        $this->setVars(array_pop($this->__varsCache));
 
        if ($this->__filterChain instanceof FilterChain) {
            return $this->__filterChain->filter($this->__content); // filter output
        }
 
Arguments
  1. "Allowed memory size of 134217728 bytes exhausted (tried to allocate 28472616 bytes)"
    
     *
     * @return void
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
 
    /**
     * @param InspectorFactoryInterface $factory
     *
     * @return void
     */
    public function setInspectorFactory(InspectorFactoryInterface $factory)
    {
        $this->inspectorFactory = $factory;
    }
 
    public function addFrameFilter($filterCallback)
    {
        if (!is_callable($filterCallback)) {
            throw new \InvalidArgumentException(sprintf(
                "A frame filter must be of type callable, %s type given.", 
Arguments
  1. 1
    
  2. "Allowed memory size of 134217728 bytes exhausted (tried to allocate 28472616 bytes)"
    
  3. "/usr/local/vufind/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php"
    
  4. 527
    

Environment & details:

empty
empty
empty
empty
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1745594243.2808
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "6af38c8960321d931f6ccc3e04f87991"
  ]
]
SessionState
Laminas\Stdlib\ArrayObject {#921}
_IMMUTABLE
true
Key Value
VUFIND_LOCAL_MODULES
"Ida"
HOSTNAME
"cd39fd4f6a62"
APPLICATION_ENV
"development"
PHP_INI_DIR
"/usr/local/etc/php"
VUFIND_HOME
"/usr/local/vufind"
SHLVL
"1"
HOME
"/home/www-data"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_VERSION
"8.1.29"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.1.29.tar.xz.asc"
VUFIND_CACHE_DIR
"/var/cache/vufind"
PHP_URL
"https://www.php.net/distributions/php-8.1.29.tar.xz"
VUFIND_ENV
"development"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
VUFIND_APPLICATION_PATH
"/usr/local/vufind"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
PWD
"/usr/local/vufind"
PHP_SHA256
"288884af60581d4284baba2ace9ca6d646f72facbd3e3c2dd2acc7fe6f903536"
VUFIND_LOCAL_DIR
"/usr/local/vufind/ida"
USER
"www-data"
HTTP_X_REAL_IP
"52.15.122.33"
HTTP_X_FORWARDED_SERVER
"3631eee668cd"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_HOST
"dev.meta-katalog.eu"
HTTP_X_FORWARDED_FOR
"52.15.122.33"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_HOST
"dev.meta-katalog.eu"
SCRIPT_FILENAME
"/usr/local/vufind/public/index.php"
REDIRECT_STATUS
"200"
SERVER_NAME
"dev.meta-katalog.eu"
SERVER_PORT
"80"
SERVER_ADDR
"172.27.0.38"
REMOTE_PORT
"46538"
REMOTE_ADDR
"172.27.0.12"
SERVER_SOFTWARE
"nginx/1.27.4"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/etc/nginx/html"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/Hierarchy/Tree/gosteli-14238gosteli"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1745594243.2681
REQUEST_TIME
1745594243
argv
[]
argc
0
Key Value
VUFIND_LOCAL_MODULES
"Ida"
HOSTNAME
"cd39fd4f6a62"
APPLICATION_ENV
"development"
PHP_INI_DIR
"/usr/local/etc/php"
VUFIND_HOME
"/usr/local/vufind"
SHLVL
"1"
HOME
"/home/www-data"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_VERSION
"8.1.29"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.1.29.tar.xz.asc"
VUFIND_CACHE_DIR
"/var/cache/vufind"
PHP_URL
"https://www.php.net/distributions/php-8.1.29.tar.xz"
VUFIND_ENV
"development"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
VUFIND_APPLICATION_PATH
"/usr/local/vufind"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
PWD
"/usr/local/vufind"
PHP_SHA256
"288884af60581d4284baba2ace9ca6d646f72facbd3e3c2dd2acc7fe6f903536"
VUFIND_LOCAL_DIR
"/usr/local/vufind/ida"
USER
"www-data"
HTTP_X_REAL_IP
"52.15.122.33"
HTTP_X_FORWARDED_SERVER
"3631eee668cd"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_HOST
"dev.meta-katalog.eu"
HTTP_X_FORWARDED_FOR
"52.15.122.33"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_HOST
"dev.meta-katalog.eu"
SCRIPT_FILENAME
"/usr/local/vufind/public/index.php"
REDIRECT_STATUS
"200"
SERVER_NAME
"dev.meta-katalog.eu"
SERVER_PORT
"80"
SERVER_ADDR
"172.27.0.38"
REMOTE_PORT
"46538"
REMOTE_ADDR
"172.27.0.12"
SERVER_SOFTWARE
"nginx/1.27.4"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/etc/nginx/html"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/Hierarchy/Tree/gosteli-14238gosteli"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1745594243.2681
REQUEST_TIME
1745594243
argv
[]
argc
0
0. Whoops\Handler\PrettyPageHandler