Image Resizer error - : file_get_contents(): stream does not support seeking in /home/mysite/public_html/webassist/caching/CachedResize_Image.php
First Error
<b>Warning</b>: file_get_contents(): stream does not support seeking in <b>/home/mysite/public_html/webassist/caching/CachedResize_Image.php</b> on line <b>195</b><br>
<br>
<b>Warning</b>: file_get_contents(): Failed to seek to position 25 in the stream in <b>/home/mysite/public_html/webassist/caching/CachedResize_Image.php</b> on line <b>195</b><br>
<img src="img_cache/directory/userfiles/9107/proportion/Picture23_w886_h1022/Picture23_01150907.png" alt="my alt">
CachedResize_Image.php #195
if (strpos($this->mime, 'png') !== false || strpos($this->mime, 'webp') !== false) {
$is_alpha = ord (file_get_contents ($this->image_to_resize, false, null, 25, 1)) & 4;
if ($is_alpha) {
$this->use_transparent = true;
}
}
2nd error
<b>Warning</b>: fseek(): stream does not support seeking in <b>/home/mysite/public_html/webassist/caching/exif.php</b> on line <b>817</b><br>
<br>
<b>Warning</b>: fseek(): stream does not support seeking in <b>/home/mysite/public_html/webassist/caching/exif.php</b> on line <b>817</b><br>
<img src="img_cache/mysite.com/files-2022/proportion/2023-13-14TN-Jackson_w1545_h2000/2023-13-14TN-Jackson_01020235.jpg" alt="My alt">
/webassist/caching/exif.php</b> on line <b>817
//seek to SubIFD (Value of ExifOffset tag) above.
$ExitOffset = $result['IFD0']['ExifOffset'];
$v = fseek($in,$globalOffset+$ExitOffset);
if($v==-1) {
$result['Errors'] = $result['Errors']+1;
$result['Error'][$result['Errors']] = "Couldnt Find SubIFD";
}
My actual page and site details in pm