Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 29088699 bytes) in /www/wwwroot/154.218.168.34/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php on line 25
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 134217728 bytes exhausted (tried to allocate 29088699 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 134217728 bytes exhausted (tried to allocate 29088699 bytes)" Stacktrace: #3 Whoops\Exception\ErrorException in /www/wwwroot/154.218.168.34/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php:25 #2 Whoops\Run:handleError in /www/wwwroot/154.218.168.34/vendor/filp/whoops/src/Whoops/Run.php:218 #1 Whoops\Run:handleShutdown in /www/wwwroot/154.218.168.34/system/src/Grav/Common/Errors/SystemFacade.php:18 #0 Grav\Common\Errors\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php25
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php218
1
Whoops\Run handleShutdown
/system/src/Grav/Common/Errors/SystemFacade.php18
0
Grav\Common\Errors\SystemFacade handleShutdown
[internal]0
/www/wwwroot/154.218.168.34/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcuCache.php
use function apcu_clear_cache;
use function apcu_delete;
use function apcu_exists;
use function apcu_fetch;
use function apcu_sma_info;
use function apcu_store;
use function count;
class ApcuCache extends CacheProvider
{
    protected function doFetch($id)
    {
        return apcu_fetch($id);
    }
    protected function doContains($id)
    {
        return apcu_exists($id);
    }
    protected function doSave($id, $data, $lifeTime = 0)
    {
        return apcu_store($id, $data, $lifeTime);
    }
    protected function doDelete($id)
    {
        return apcu_delete($id) || !apcu_exists($id);
    }
    protected function doDeleteMultiple(array $keys)
    {
        $result = apcu_delete($keys);
        return $result !== false && count($result) !== count($keys);
    }
    protected function doFlush()
    {
        return apcu_clear_cache();
    }
    protected function doFetchMultiple(array $keys)
    {
        return apcu_fetch($keys) ?: [];
    }
    protected function doSaveMultiple(array $keysAndValues, $lifetime = 0)
    {
Arguments
  1. "Allowed memory size of 134217728 bytes exhausted (tried to allocate 29088699 bytes)"
    
/www/wwwroot/154.218.168.34/vendor/filp/whoops/src/Whoops/Run.php
                    return true;
                }
            }
            $exception = new ErrorException($message, $level, $level, $file, $line);
            if ($this->canThrowExceptions) {
                throw $exception;
            } else {
                $this->handleException($exception);
            }
            return true;
        }
        return false;
    }
    public function handleShutdown()
    {
        $this->canThrowExceptions = false;
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            $this->allowQuit = false;
            $this->handleError($error['type'], $error['message'], $error['file'], $error['line']);
        }
    }
    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.", gettype($filterCallback)));
        }
        $this->frameFilters[] = $filterCallback;
        return $this;
    }
    private function getInspector($exception)
    {
        return $this->inspectorFactory->create($exception);
    }
    private function resolveHandler($handler)
    {
/www/wwwroot/154.218.168.34/system/src/Grav/Common/Errors/SystemFacade.php
<?php
 
namespace Grav\Common\Errors;
 
class SystemFacade extends \Whoops\Util\SystemFacade
{
    protected $whoopsShutdownHandler;
    public function registerShutdownFunction(callable $function)
    {
        $this->whoopsShutdownHandler = $function;
        register_shutdown_function([$this, 'handleShutdown']);
    }
    public function handleShutdown()
    {
        $error = $this->getLastError();
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler = $this->whoopsShutdownHandler;
            $handler();
        }
    }
    public function setHttpResponseCode($httpCode)
    {
        if (!headers_sent()) {
            header_remove('location');
            header_remove('Content-Encoding');
        }
        return http_response_code($httpCode);
    }
}
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"www"
HOME
"/home/www"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"news-wanmei.com"
PATH_INFO
""
REDIRECT_STATUS
"200"
SERVER_NAME
"154.218.168.34"
SERVER_PORT
"443"
SERVER_ADDR
"154.218.169.52"
REMOTE_PORT
"21704"
REMOTE_ADDR
"216.73.216.160"
SERVER_SOFTWARE
"nginx/1.22.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/www/wwwroot/154.218.168.34"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/fengkuangtiyu/20250602-153103-139689"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/www/wwwroot/154.218.168.34/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1749284540.6713
REQUEST_TIME
1749284540
empty
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler