Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 69007752 bytes) in /home/wwfaro/public_html/subdomains/scripts/content/vendor/gumlet/php-image-resize/lib/ImageResize.php on line 164
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 268435456 bytes exhausted (tried to allocate 69007752 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 268435456 bytes exhausted (tried to allocate 69007752 bytes)" Stacktrace: #2 Whoops\Exception\ErrorException in /home/wwfaro/public_html/subdomains/scripts/content/vendor/gumlet/php-image-resize/lib/ImageResize.php:164 #1 Whoops\Run:handleError in /home/wwfaro/public_html/subdomains/scripts/content/vendor/filp/whoops/src/Whoops/Run.php:510 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/vendor/gumlet/php-image-resize/lib/ImageResize.php164
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php510
0
Whoops\Run handleShutdown
[internal]0
/home/wwfaro/public_html/subdomains/scripts/content/vendor/gumlet/php-image-resize/lib/ImageResize.php
            $this->original_h = $image_info[1];
            $this->source_type = $image_info[2];
        }
 
        switch ($this->source_type) {
        case IMAGETYPE_GIF:
            $this->source_image = imagecreatefromgif($filename);
            break;
 
        case IMAGETYPE_JPEG:
            $this->source_image = $this->imageCreateJpegfromExif($filename);
 
            // set new width and height for image, maybe it has changed
            $this->original_w = imagesx($this->source_image);
            $this->original_h = imagesy($this->source_image);
 
            break;
 
        case IMAGETYPE_PNG:
            $this->source_image = imagecreatefrompng($filename);
            break;
 
        case IMAGETYPE_WEBP:
            $this->source_image = imagecreatefromwebp($filename);
            $this->original_w = imagesx($this->source_image);
            $this->original_h = imagesy($this->source_image);
 
            break;
 
        case IMAGETYPE_BMP:
            if (version_compare(PHP_VERSION, '7.2.0', '<')) {
                throw new ImageResizeException('For bmp support PHP >= 7.2.0 is required');
            }
            $this->source_image = imagecreatefrombmp($filename);
            break;
 
        default:
            throw new ImageResizeException('Unsupported image type');
        }
 
Arguments
  1. "Allowed memory size of 268435456 bytes exhausted (tried to allocate 69007752 bytes)"
    
/home/wwfaro/public_html/subdomains/scripts/content/vendor/filp/whoops/src/Whoops/Run.php
    }
 
    /**
     * 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.
        $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 InspectorFactoryInterface $factory
     *
     * @return void
     */
    public function setInspectorFactory(InspectorFactoryInterface $factory)
    {
        $this->inspectorFactory = $factory;
    }
 
    public function addFrameFilter($filterCallback)
Arguments
  1. 1
    
  2. "Allowed memory size of 268435456 bytes exhausted (tried to allocate 69007752 bytes)"
    
  3. "/home/wwfaro/public_html/subdomains/scripts/content/vendor/gumlet/php-image-resize/lib/ImageResize.php"
    
  4. 164
    
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"wwfaro"
HOME
"/home/wwfaro"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/dinamicos/feed/globo/g1/politica"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/dinamicos/feed/globo/g1/politica"
REMOTE_PORT
"8211"
SCRIPT_FILENAME
"/home/wwfaro/public_html/subdomains/scripts/content/public/index.php"
SERVER_ADMIN
"webmaster@content.scripts.farolsign.com.br"
CONTEXT_DOCUMENT_ROOT
"/home/wwfaro/public_html/subdomains/scripts/content/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/wwfaro/public_html/subdomains/scripts/content/public"
REMOTE_ADDR
"3.139.69.138"
SERVER_PORT
"443"
SERVER_ADDR
"162.214.211.207"
SERVER_NAME
"content.scripts.farolsign.com.br"
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
"content.scripts.farolsign.com.br"
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
"content.scripts.farolsign.com.br"
HTTPS
"on"
HTTP_AUTHORIZATION
""
UNIQUE_ID
"Z4HbipQYlxnkOJn2W4NfCgAAABg"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"content.scripts.farolsign.com.br"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_UNIQUE_ID
"Z4HbipQYlxnkOJn2W4NfCgAAABg"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1736563594.6567
REQUEST_TIME
1736563594
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler