Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 62914592 bytes) in /home/cftech5/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php on line 1181
An Error Occurred: Whoops, looks like something went wrong.

Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong."

Help me resolve this

Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 268435456 bytes exhausted (tried to allocate 62914592 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 268435456 bytes exhausted (tried to allocate 62914592 bytes)" Stacktrace: #3 Whoops\Exception\ErrorException in /home/cftech5/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php:1181 #2 Whoops\Run:handleError in /home/cftech5/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/cftech5/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:167 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/cftech5/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php1181
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php167
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
        $js .= sprintf("%s.restoreState();\n", $varname);
 
        return $js;
    }
 
    /**
     * Returns the js code needed to add a dataset
     *
     * @param string $requestId
     * @param array $data
     * @param mixed $suffix
     * @return string
     */
    protected function getAddDatasetCode($requestId, $data, $suffix = null)
    {
        $js = sprintf("%s.addDataSet(%s, \"%s\"%s);\n",
            $this->variableName,
            json_encode($data),
            $requestId,
            $suffix ? ", " . json_encode($suffix) : ''
        );
        return $js;
    }
 
    /**
     * If a nonce it set, create the correct attribute
     * @return string
     */
    protected function getNonceAttribute()
    {
        if ($nonce = $this->getCspNonce()) {
            return ' nonce="' . $nonce .'"';
        }
 
        return '';
    }
}
 
Arguments
  1. "Allowed memory size of 268435456 bytes exhausted (tried to allocate 62914592 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 Throwable $exception
     *
     * @return Inspector
     */
    private function getInspector($exception)
    {
        return new Inspector($exception);
    }
 
    /**
     * Resolves the giving handler.
     *
     * @param callable|HandlerInterface $handler
     *
     * @return HandlerInterface
Arguments
  1. 1
    
  2. "Allowed memory size of 268435456 bytes exhausted (tried to allocate 62914592 bytes)"
    
  3. "/home/cftech5/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php"
    
  4. 1181
    
        }
 
        // Propagate error to the next handler.
        if ($this->platformExceptionHandler) {
            call_user_func_array($this->platformExceptionHandler, [&$exception]);
        }
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        $handler = $this->whoopsShutdownHandler;
 
        $error = $this->getLastError();
 
        // Ignore core warnings and errors.
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler();
        }
    }
}
 

Environment & details:

Key Value
lang
"en"
empty
empty
Key Value
052a98d98ab76cc33d03cc02444fbb7c
"e2eb00903333dca3a6be9dfcb81181c5"
Key Value
joomla
"TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjQ6e3M6Nzoic2Vzc2lvbiI7Tzo4OiJzdGRDbGFzcyI6Mzp7czo3OiJjb3VudGVyIjtpOjg7czo1OiJ0aW1lciI7Tzo4OiJzdGRDbGFzcyI6Mzp7czo1OiJzdGFydCI7aToxNzg1MDM5MzA0O3M6NDoibGFzdCI7aToxNzg1MDM5MzIyO3M6Mzoibm93IjtpOjE3ODUwMzkzMzA7fXM6NToidG9rZW4iO3M6MzI6ImNjNWI5Y2ZjMmFkNzRiMzJjMjQ1NTU4OWUwN2I5ODExIjt9czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MjU6InBsZ19zeXN0ZW1fbGFuZ3VhZ2VmaWx0ZXIiO086ODoic3RkQ2xhc3MiOjE6e3M6ODoibGFuZ3VhZ2UiO3M6NToiZW4tR0IiO319czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9"
Key Value
USER
"cftech5"
HOME
"/home/cftech5"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/index.php?lang=en"
QUERY_STRING
"lang=en"
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/2.0"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"2070"
SCRIPT_FILENAME
"/home/cftech5/public_html/index.php"
SERVER_ADMIN
"webmaster@cftech.com"
CONTEXT_DOCUMENT_ROOT
"/home/cftech5/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/cftech5/public_html"
REMOTE_ADDR
"216.73.216.138"
SERVER_PORT
"443"
SERVER_ADDR
"199.250.204.166"
SERVER_NAME
"cftech.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_X_HTTPS
"1"
HTTP_HOST
"cftech.com"
HTTP_REFERER
"https://cftech.com/"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"052a98d98ab76cc33d03cc02444fbb7c=e2eb00903333dca3a6be9dfcb81181c5"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
H2_STREAM_TAG
"2729709-196-19"
H2_STREAM_ID
"19"
H2_PUSHED_ON
""
H2_PUSHED
""
H2_PUSH
"off"
H2PUSH
"off"
HTTP2
"on"
SSL_TLS_SNI
"cftech.com"
HTTPS
"on"
SCRIPT_URI
"https://cftech.com/index.php"
SCRIPT_URL
"/index.php"
UNIQUE_ID
"amWJ4mQEB1b6lfQPiltmjwACRgU"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1785039330.5541
REQUEST_TIME
1785039330
argv
array:1 [
  0 => "lang=en"
]
argc
1
empty
0. Whoops\Handler\PrettyPageHandler