Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 72
Whoops! There was an error. • Directory Lister
Whoops \ Exception \ ErrorException (E_DEPRECATED)
Non-canonical cast (integer) is deprecated, use the (int) cast instead Whoops\Exception\ErrorException thrown with message "Non-canonical cast (integer) is deprecated, use the (int) cast instead" Stacktrace: #8 Whoops\Exception\ErrorException in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Handler/PlainTextHandler.php:167 #7 Whoops\Run:handleError in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php:576 #6 include in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php:576 #5 {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575} in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php:427 #4 Composer\Autoload\ClassLoader:loadClass in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php:291 #3 Whoops\Handler\PrettyPageHandler:handle in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php:403 #2 Whoops\Run:handleException in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php:487 #1 Whoops\Run:handleError in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php:520 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (9)
8
Whoops\Exception\ErrorException
/vendor/filp/whoops/src/Whoops/Handler/PlainTextHandler.php167
7
Whoops\Run handleError
/vendor/composer/ClassLoader.php576
6
include
/vendor/composer/ClassLoader.php576
5
{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}
/vendor/composer/ClassLoader.php427
4
Composer\Autoload\ClassLoader loadClass
/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php291
3
Whoops\Handler\PrettyPageHandler handle
/vendor/filp/whoops/src/Whoops/Run.php403
2
Whoops\Run handleException
/vendor/filp/whoops/src/Whoops/Run.php487
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php520
0
Whoops\Run handleShutdown
[internal]0
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Handler/PlainTextHandler.php
        }
 
        if (! is_integer($addTraceFunctionArgsToOutput)) {
            $this->addTraceFunctionArgsToOutput = (bool) $addTraceFunctionArgsToOutput;
        } else {
            $this->addTraceFunctionArgsToOutput = $addTraceFunctionArgsToOutput;
        }
        return $this;
    }
 
    /**
     * Set the size limit in bytes of frame arguments var_dump output.
     * If the limit is reached, the var_dump output is discarded.
     * Prevent memory limit errors.
     * @var integer
     * @return static
     */
    public function setTraceFunctionArgsOutputLimit($traceFunctionArgsOutputLimit)
    {
        $this->traceFunctionArgsOutputLimit = (integer) $traceFunctionArgsOutputLimit;
        return $this;
    }
 
    /**
     * Create plain text response and return it as a string
     * @return string
     */
    public function generateResponse()
    {
        $exception = $this->getException();
        $message = $this->getExceptionOutput($exception);
 
        if ($this->addPreviousToOutput) {
            $previous = $exception->getPrevious();
            while ($previous) {
                $message .= "\n\nCaused by\n" . $this->getExceptionOutput($previous);
                $previous = $previous->getPrevious();
            }
        }
 
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php
 
    /**
     * @return void
     */
    private static function initializeIncludeClosure()
    {
        if (self::$includeFile !== null) {
            return;
        }
 
        /**
         * Scope isolated include.
         *
         * Prevents access to $this/self from included files.
         *
         * @param  string $file
         * @return void
         */
        self::$includeFile = \Closure::bind(static function($file) {
            include $file;
        }, null, null);
    }
}
 
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php
 
    /**
     * @return void
     */
    private static function initializeIncludeClosure()
    {
        if (self::$includeFile !== null) {
            return;
        }
 
        /**
         * Scope isolated include.
         *
         * Prevents access to $this/self from included files.
         *
         * @param  string $file
         * @return void
         */
        self::$includeFile = \Closure::bind(static function($file) {
            include $file;
        }, null, null);
    }
}
 
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/composer/ClassLoader.php
    public function unregister()
    {
        spl_autoload_unregister(array($this, 'loadClass'));
 
        if (null !== $this->vendorDir) {
            unset(self::$registeredLoaders[$this->vendorDir]);
        }
    }
 
    /**
     * Loads the given class or interface.
     *
     * @param  string    $class The name of the class
     * @return true|null True if loaded, null otherwise
     */
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            $includeFile = self::$includeFile;
            $includeFile($file);
 
            return true;
        }
 
        return null;
    }
 
    /**
     * Finds the path to the file where the class is defined.
     *
     * @param string $class The name of the class
     *
     * @return string|false The path if found, false otherwise
     */
    public function findFile($class)
    {
        // class map lookup
        if (isset($this->classMap[$class])) {
            return $this->classMap[$class];
        }
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php
                "Environment Variables" => $this->masked($_ENV, '_ENV'),
            ],
        ];
 
        if (isset($customCssFile)) {
            $vars["stylesheet"] .= file_get_contents($customCssFile);
        }
 
        if (isset($customJsFile)) {
            $vars["javascript"] .= file_get_contents($customJsFile);
        }
 
        // Add extra entries list of data tables:
        // @todo: Consolidate addDataTable and addDataTableCallback
        $extraTables = array_map(function ($table) use ($inspector) {
            return $table instanceof \Closure ? $table($inspector) : $table;
        }, $this->getDataTables());
        $vars["tables"] = array_merge($extraTables, $vars["tables"]);
 
        $plainTextHandler = new PlainTextHandler();
        $plainTextHandler->setRun($this->getRun());
        $plainTextHandler->setException($this->getException());
        $plainTextHandler->setInspector($this->getInspector());
        $vars["preface"] = "<!--\n\n\n" .  $this->templateHelper->escape($plainTextHandler->generateResponse()) . "\n\n\n\n\n\n\n\n\n\n\n-->";
 
        $this->templateHelper->setVariables($vars);
        $this->templateHelper->render($templateFile);
 
        return Handler::QUIT;
    }
 
    /**
     * Get the stack trace frames of the exception currently being handled.
     *
     * @return \Whoops\Exception\FrameCollection
     */
    protected function getExceptionFrames()
    {
        $frames = $this->getInspector()->getFrames($this->getRun()->getFrameFilters());
 
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php
        // Capture output produced while handling the exception,
        // we might want to send it straight away to the client,
        // or return it silently.
        $this->system->startOutputBuffering();
 
        // Just in case there are no handlers:
        $handlerResponse = null;
        $handlerContentType = null;
 
        try {
            foreach (array_reverse($this->handlerStack) as $handler) {
                $handler->setRun($this);
                $handler->setInspector($inspector);
                $handler->setException($exception);
 
                // The HandlerInterface does not require an Exception passed to handle()
                // and neither of our bundled handlers use it.
                // However, 3rd party handlers may have already relied on this parameter,
                // and removing it would be possibly breaking for users.
                $handlerResponse = $handler->handle($exception);
 
                // Collect the content type for possible sending in the headers.
                $handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
 
                if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
                    // The Handler has handled the exception in some way, and
                    // wishes to quit execution (Handler::QUIT), or skip any
                    // other handlers (Handler::LAST_HANDLER). If $this->allowQuit
                    // is false, Handler::QUIT behaves like Handler::LAST_HANDLER
                    break;
                }
            }
 
            $willQuit = $handlerResponse == Handler::QUIT && $this->allowQuit();
        } finally {
            $output = $this->system->cleanOutputBuffer();
        }
 
        // If we're allowed to, send output generated by handlers directly
        // to the output, otherwise, and if the script doesn't quit, return
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php
    public function handleError($level, $message, $file = null, $line = null)
    {
        if ($level & $this->system->getErrorReportingLevel()) {
            foreach ($this->silencedPatterns as $entry) {
                $pathMatches = (bool) preg_match($entry["pattern"], $file);
                $levelMatches = $level & $entry["levels"];
                if ($pathMatches && $levelMatches) {
                    // Ignore the error, abort handling
                    // See https://github.com/filp/whoops/issues/418
                    return true;
                }
            }
 
            // XXX we pass $level for the "code" param only for BC reasons.
            // see https://github.com/filp/whoops/issues/267
            $exception = new ErrorException($message, /*code*/ $level, /*severity*/ $level, $file, $line);
            if ($this->canThrowExceptions) {
                throw $exception;
            } else {
                $this->handleException($exception);
            }
            // Do not propagate errors which were already handled by Whoops.
            return true;
        }
 
        // Propagate error to the next handler, allows error_get_last() to
        // work on silenced errors.
        return false;
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     *
     * @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.
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php
     * @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;
 
        // If we are not currently registered, we should not do anything
        if (!$this->isRegistered) {
            return;
        }
 
        $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)
[internal]

Environment & details:

Key Value
zip .
empty
empty
empty
empty
Key Value
USER www-data
HOME /home/lightshoro/public_html
SCRIPT_NAME /index.php
REQUEST_URI /?zip=.
QUERY_STRING zip=.
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 61802
SCRIPT_FILENAME /home/lightshoro/public_html/cdn.eradium.fr/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/lightshoro/public_html/cdn.eradium.fr
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/lightshoro/public_html/cdn.eradium.fr
REMOTE_ADDR 216.73.216.167
SERVER_PORT 443
SERVER_ADDR 192.168.1.86
SERVER_NAME cdn.eradium.fr
SERVER_SOFTWARE Apache/2.4.58 (Ubuntu)
SERVER_SIGNATURE <address>Apache/2.4.58 (Ubuntu) Server at cdn.eradium.fr Port 443</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
HTTP_HOST cdn.eradium.fr
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 */*
proxy-nokeepalive 1
SSL_TLS_SNI cdn.eradium.fr
HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1776489473.388
REQUEST_TIME 1776489473
APP_DEBUG false
APP_LANGUAGE fr
DISPLAY_READMES true
READMES_FIRST false
ZIP_DOWNLOADS true
GOOGLE_ANALYTICS_ID false
MATOMO_ANALYTICS_URL false
MATOMO_ANALYTICS_ID false
SORT_ORDER type
REVERSE_SORT false
DIRECT_LINKS *
Key Value
APP_DEBUG false
APP_LANGUAGE fr
DISPLAY_READMES true
READMES_FIRST false
ZIP_DOWNLOADS true
GOOGLE_ANALYTICS_ID false
MATOMO_ANALYTICS_URL false
MATOMO_ANALYTICS_ID false
SORT_ORDER type
REVERSE_SORT false
DIRECT_LINKS *
0. Whoops\Handler\PrettyPageHandler
Whoops! There was an error. • Directory Lister
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes)" Stacktrace: #2 Whoops\Exception\ErrorException in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:72 #1 Whoops\Run:handleError in /home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php:520 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php72
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php520
0
Whoops\Run handleShutdown
[internal]0
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php
     */
    public function current(): SplFileInfo
    {
        // the logic here avoids redoing the same work in all iterations
 
        if (!isset($this->subPath)) {
            $this->subPath = $this->getSubPath();
        }
        $subPathname = $this->subPath;
        if ('' !== $subPathname) {
            $subPathname .= $this->directorySeparator;
        }
        $subPathname .= $this->getFilename();
        $basePath = $this->rootPath;
 
        if ('/' !== $basePath && !str_ends_with($basePath, $this->directorySeparator) && !str_ends_with($basePath, '/')) {
            $basePath .= $this->directorySeparator;
        }
 
        return new SplFileInfo($basePath.$subPathname, $this->subPath, $subPathname);
    }
 
    public function hasChildren(bool $allowLinks = false): bool
    {
        $hasChildren = parent::hasChildren($allowLinks);
 
        if (!$hasChildren || !$this->ignoreUnreadableDirs) {
            return $hasChildren;
        }
 
        try {
            parent::getChildren();
 
            return true;
        } catch (\UnexpectedValueException) {
            // If directory is unreadable and finder is set to ignore it, skip children
            return false;
        }
    }
 
/home/lightshoro/public_html/cdn.eradium.fr/app/vendor/filp/whoops/src/Whoops/Run.php
     * @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;
 
        // If we are not currently registered, we should not do anything
        if (!$this->isRegistered) {
            return;
        }
 
        $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)
[internal]

Environment & details:

Key Value
zip .
empty
empty
empty
empty
Key Value
USER www-data
HOME /home/lightshoro/public_html
SCRIPT_NAME /index.php
REQUEST_URI /?zip=.
QUERY_STRING zip=.
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 61802
SCRIPT_FILENAME /home/lightshoro/public_html/cdn.eradium.fr/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /home/lightshoro/public_html/cdn.eradium.fr
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/lightshoro/public_html/cdn.eradium.fr
REMOTE_ADDR 216.73.216.167
SERVER_PORT 443
SERVER_ADDR 192.168.1.86
SERVER_NAME cdn.eradium.fr
SERVER_SOFTWARE Apache/2.4.58 (Ubuntu)
SERVER_SIGNATURE <address>Apache/2.4.58 (Ubuntu) Server at cdn.eradium.fr Port 443</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
HTTP_HOST cdn.eradium.fr
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 */*
proxy-nokeepalive 1
SSL_TLS_SNI cdn.eradium.fr
HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1776489473.388
REQUEST_TIME 1776489473
APP_DEBUG false
APP_LANGUAGE fr
DISPLAY_READMES true
READMES_FIRST false
ZIP_DOWNLOADS true
GOOGLE_ANALYTICS_ID false
MATOMO_ANALYTICS_URL false
MATOMO_ANALYTICS_ID false
SORT_ORDER type
REVERSE_SORT false
DIRECT_LINKS *
Key Value
APP_DEBUG false
APP_LANGUAGE fr
DISPLAY_READMES true
READMES_FIRST false
ZIP_DOWNLOADS true
GOOGLE_ANALYTICS_ID false
MATOMO_ANALYTICS_URL false
MATOMO_ANALYTICS_ID false
SORT_ORDER type
REVERSE_SORT false
DIRECT_LINKS *
0. Whoops\Handler\PrettyPageHandler