Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 146049800 bytes) in /var/www/html/system/media/gd.php on line 50 Warning: http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/system/media/gd.php:50) in /var/www/html/system/core/frontcontroller.php on line 123
(error 500)
The site is experiencing some dificulties, please try again, if the problem persists please contact support.
Go to homepageAllowed memory size of 268435456 bytes exhausted (tried to allocate 146049800 bytes)
$this->width = $info[0];
$this->height = $info[1];
$this->mime = $info['mime'] ?? '';
if ($this->mime == 'image/gif') {
$this->image = imagecreatefromgif($file);
} elseif ($this->mime == 'image/png') {
$this->image = imagecreatefrompng($file); // <==
imageinterlace($this->image, false);
} elseif ($this->mime == 'image/jpeg') {
$this->image = imagecreatefromjpeg($file);
} elseif ($this->mime == 'image/webp') {
$this->image = imagecreatefromwebp($file);
#0 /var/www/html/system/core/startup.php(335): Vvveb\System\Core\vErrorHandler(1, 'Allowed memory ...', '/var/www/html/s...', 50) #1 [internal function]: Vvveb\System\Core\fatalErrorHandler() #2 {main}