Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 147456 bytes) in /home/nor48406/public_html/libraries/gantry5/classes/Gantry/Component/Content/Document/HtmlDocument.php on line 715
Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 33554432 bytes exhausted (tried to allocate 147456 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 33554432 bytes exhausted (tried to allocate 147456 bytes)" Stacktrace: #3 Whoops\Exception\ErrorException in /home/nor48406/public_html/libraries/gantry5/classes/Gantry/Component/Content/Document/HtmlDocument.php:715 #2 Whoops\Run:handleError in /home/nor48406/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:433 #1 Whoops\Run:handleShutdown in /home/nor48406/public_html/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php:155 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/classes/Gantry/Component/Content/Document/HtmlDocument.php715
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
1
Whoops\Run handleShutdown
/classes/Gantry/Component/Whoops/SystemFacade.php155
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
         * Per OWASP recommendations, we'll use hex entities for any other
         * characters where a named entity does not exist.
         */
        return sprintf('&#x%04X;', static::ord($chr));
    }
 
    /**
     * Replace tokens with strings.
     *
     * @param array $tokens
     * @param $html
     * @return string|NUll
     */
    protected static function replaceTokens(array $tokens, $html)
    {
        foreach ($tokens as $token => $replacement) {
            // We need to use callbacks to turn off backreferences ($1, \\1) in the replacement string.
            $callback = function() use ($replacement) { return $replacement; };
 
            $html = preg_replace_callback('#' . preg_quote($token, '#') . '#u', $callback, $html);
        }
 
        return $html;
    }
 
    /**
     * Register loaded frameworks.
     */
    protected static function registerFrameworks()
    {
        foreach (static::$stack[0]->getFrameworks() as $framework) {
            if (isset(static::$availableFrameworks[$framework])) {
                call_user_func([get_called_class(), static::$availableFrameworks[$framework]]);
            }
        }
    }
 
    protected static function registerJquery()
    {
        static::addScript(
    /**
     * Special case to deal with Fatal errors and the like.
     */
    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']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
        }
 
        // 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:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTYxODc5MjU4MztzOjQ6Imxhc3QiO2k6MTYxODc5MjU4MztzOjM6Im5vdyI7aToxNjE4NzkyNTgzO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MTQ6ImNvbV9yc2ZpcmV3YWxsIjtPOjg6InN0ZENsYXNzIjoxOntzOjU6Imdlb2lwIjtzOjI6IlVTIjt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30=
Key Value
USER nor48406
HOME /home/nor48406
SCRIPT_NAME /index.php
REQUEST_URI /
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 50132
SCRIPT_FILENAME /home/nor48406/public_html/index.php
SERVER_ADMIN webmaster@northsideconnect.com.au
CONTEXT_DOCUMENT_ROOT /home/nor48406/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/nor48406/public_html
REMOTE_ADDR 100.26.179.251
SERVER_PORT 443
SERVER_ADDR 203.26.41.133
SERVER_NAME norbeachconnect.com.au
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at norbeachconnect.com.au Port 443</address>
PATH /sbin:/usr/sbin:/bin:/usr/bin
HTTP_X_HTTPS 1
HTTP_CONNECTION Keep-Alive
HTTP_HOST norbeachconnect.com.au
HTTP_ACCEPT_ENCODING br,gzip
HTTP_IF_MODIFIED_SINCE Mon, 08 Mar 2021 19:42:05 GMT
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
proxy-nokeepalive 1
SSL_TLS_SNI norbeachconnect.com.au
HTTPS on
HTTP_AUTHORIZATION
SCRIPT_URI https://norbeachconnect.com.au/
SCRIPT_URL /
UNIQUE_ID YHzQh3Lh0nQzeKw0CCrmwgAAANU
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1618792583.3538
REQUEST_TIME 1618792583
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 98304 bytes) in /home/nor48406/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Util/SystemFacade.php on line 77