Error
Class "Symfony\Component\Cache\Adapter\FilesystemAdapter" not found Error thrown with message "Class "Symfony\Component\Cache\Adapter\FilesystemAdapter" not found" Stacktrace: #4 Error in /home/srivibhavegroup/routesafe360.com/billing/di.php:244 #3 {closure} in /home/srivibhavegroup/routesafe360.com/billing/vendor/pimple/pimple/src/Pimple/Container.php:122 #2 Pimple\Container:offsetGet in /home/srivibhavegroup/routesafe360.com/billing/load.php:97 #1 checkUpdatePatcher in /home/srivibhavegroup/routesafe360.com/billing/load.php:325 #0 require in /home/srivibhavegroup/routesafe360.com/billing/index.php:12
Stack frames (5)
4
Error
/di.php:244
3
{closure}
/vendor/pimple/pimple/src/Pimple/Container.php:122
2
Pimple\Container offsetGet
/load.php:97
1
checkUpdatePatcher
/load.php:325
0
require
/index.php:12
/home/srivibhavegroup/routesafe360.com/billing/di.php
 
/*
 * Creates a new request object based on the current request.
 *
 * @param void
 *
 * @link https://symfony.com/doc/current/components/http_foundation.html
 *
 * @return Symfony\Component\HttpFoundation\Request
 */
$di['request'] = fn (): Request => Request::createFromGlobals();
 
/*
 * @param void
 *
 * @link https://symfony.com/doc/current/components/cache/adapters/filesystem_adapter.html
 *
 * @return FilesystemAdapter
 */
$di['cache'] = fn (): FilesystemAdapter => new FilesystemAdapter('sf_cache', 24 * 60 * 60, PATH_CACHE);
 
/*
 *
 * @param void
 *
 * @return Box_Authorization
 */
$di['auth'] = fn (): Box_Authorization => new Box_Authorization($di);
 
/*
 * Creates a new Twig environment that's configured for FOSSBilling.
 *
 * @param void
 *
 * @return \Twig\Environment The new Twig environment that was just created.
 *
 * @throws \Twig\Error\LoaderError If the Twig environment could not be created.
 * @throws \Twig\Error\RuntimeError If an error occurs while rendering a template.
 * @throws \Twig\Error\SyntaxError If a template is malformed.
 */
Arguments
  1. "Class "Symfony\Component\Cache\Adapter\FilesystemAdapter" not found"
    
/home/srivibhavegroup/routesafe360.com/billing/vendor/pimple/pimple/src/Pimple/Container.php
    {
        if (!isset($this->keys[$id])) {
            throw new UnknownIdentifierException($id);
        }
 
        if (
            isset($this->raw[$id])
            || !\is_object($this->values[$id])
            || isset($this->protected[$this->values[$id]])
            || !\method_exists($this->values[$id], '__invoke')
        ) {
            return $this->values[$id];
        }
 
        if (isset($this->factories[$this->values[$id]])) {
            return $this->values[$id]($this);
        }
 
        $raw = $this->values[$id];
        $val = $this->values[$id] = $raw($this);
        $this->raw[$id] = $raw;
 
        $this->frozen[$id] = true;
 
        return $val;
    }
 
    /**
     * Checks if a parameter or an object is set.
     *
     * @param string $id The unique identifier for the parameter or object
     *
     * @return bool
     */
    #[\ReturnTypeWillChange]
    public function offsetExists($id)
    {
        return isset($this->keys[$id]);
    }
 
Arguments
  1. Pimple\Container {#17}
    
/home/srivibhavegroup/routesafe360.com/billing/load.php
{
    global $request;
 
    if (!empty(Config::getProperty('security.force_https')) && Config::getProperty('security.force_https') && !Environment::isCLI()) {
        if (!Tools::isHTTPS()) {
            header('Location: https://' . $request->getHost() . $request->getRequestUri());
            exit;
        }
    }
}
 
/*
 * Check if the update patcher needs to be run.
 */
function checkUpdatePatcher(): void
{
    global $di, $filesystem, $request;
 
    $version = FOSSBilling\Version::VERSION;
    if ($di['cache']->getItem('updatePatcher')->isHit() && $version === $di['cache']->getItem('updatePatcher')->get()) {
        exit('The update patcher has already been run for this version.');
    }
 
    if ($request->getPathInfo() == '/run-patcher' || $request->query->get('_url') === '/run-patcher') {
        $patcher = new FOSSBilling\UpdatePatcher();
        $patcher->setDi($di);
 
        try {
            $patcher->applyConfigPatches();
            $patcher->applyCorePatches();
 
            // Clear the file cache after applying patches.
            $filesystem->remove(PATH_CACHE);
            $filesystem->mkdir(PATH_CACHE);
 
            $di['cache']->getItem('updatePatcher')->set(FOSSBilling\Version::VERSION);
 
            exit('Any missing config migrations or database patches have been applied and the cache has been cleared.');
        } catch (Exception $e) {
            exit("An error occurred while attempting to apply patches: <br>{$e->getMessage()}.");
Arguments
  1. "cache"
    
/home/srivibhavegroup/routesafe360.com/billing/load.php
// Perform pre-initialization (loading required dependencies, etc.).
preInit();
 
// Initialize the application.
init();
 
// Check for legacy BoxBilling/FOSSBilling files.
checkLegacyFiles();
 
// Verify the installer was removed.
checkInstaller();
 
// Check if SSL required, and enforce if so.
checkSSL();
 
// Check web server and web server settings.
checkWebServer();
 
// Check whether the patcher needs to be run.
checkUpdatePatcher();
 
// Perform post-initialization (setting error handlers, etc).
postInit();
 
/home/srivibhavegroup/routesafe360.com/billing/index.php
<?php
 
/**
 * Copyright 2022-2025 FOSSBilling
 * Copyright 2011-2021 BoxBilling, Inc.
 * SPDX-License-Identifier: Apache-2.0.
 *
 * @copyright FOSSBilling (https://www.fossbilling.org)
 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
 */
 
require __DIR__ . DIRECTORY_SEPARATOR . 'load.php';
global $di;
 
// Setting up the debug bar
$debugBar = new DebugBar\StandardDebugBar();
$debugBar['request']->useHtmlVarDumper();
$debugBar['messages']->useHtmlVarDumper();
 
$config = FOSSBilling\Config::getConfig();
$config['info']['salt'] = '********';
$config['db'] = array_fill_keys(array_keys($config['db']), '********');
 
$configCollector = new DebugBar\DataCollector\ConfigCollector($config);
$configCollector->useHtmlVarDumper();
 
$debugBar->addCollector($configCollector);
 
// Get the request URL
$url = $_GET['_url'] ?? parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
 
// Rewrite for custom pages
if (str_starts_with($url, '/page/')) {
    $url = substr_replace($url, '/custompages/', 0, 6);
}
 
// Set the final URL
$_GET['_url'] = $url;
$http_err_code = $_GET['_errcode'] ?? null;
 
Arguments
  1. "/home/srivibhavegroup/routesafe360.com/billing/load.php"
    

Environment & details:

Key Value
PHP Version
"8.3.30"
Error code
0
Instance ID
"1dd28b29-2d4c-4d29-8b0c-e905843324f0"
empty
empty
empty
empty
empty
Key Value
USER
"srivibhavegroup"
HOME
"/home/srivibhavegroup"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"10621"
SCRIPT_FILENAME
"/home/srivibhavegroup/routesafe360.com/billing/index.php"
SERVER_ADMIN
"webmaster@billing.routesafe360.com"
CONTEXT_DOCUMENT_ROOT
"/home/srivibhavegroup/routesafe360.com/billing"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/srivibhavegroup/routesafe360.com/billing"
REMOTE_ADDR
"216.73.216.153"
SERVER_PORT
"443"
SERVER_ADDR
"103.108.220.177"
SERVER_NAME
"www.billing.routesafe360.com"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_HOST
"www.billing.routesafe360.com"
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
"www.billing.routesafe360.com"
HTTPS
"on"
HTTP_AUTHORIZATION
""
UNIQUE_ID
"ad9P32o6JobFVGZ-AyHwuwAAABU"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1776242655.2864
REQUEST_TIME
1776242655
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler