Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x52 0x49 in /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php on line 68

Warning: imagecreatefromjpeg(): "/var/www/vhosts/virs.ru/httpdocs/upload/resize_cache/iblock/5f4/590_425_0/un9klqxjymct37qbz3oaxfo69bnuzhnd.jpg" is not a valid JPEG file in /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php on line 68

Fatal error: Uncaught TypeError: imagewebp(): Argument #1 ($image) must be of type GdImage, bool given in /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php:28 Stack trace: #0 /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php(28): imagewebp() #1 /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php(107): makesGD->__construct() #2 {main} thrown in /var/www/vhosts/virs.ru/httpdocs/local/php_interface/inc/user/class/webp.php on line 28