PHP 7.4 changes required for this mod: Resize Attached Images (final)
error:
8: Trying to access array offset on value of type bool
File: /var/www/html/Sources/Subs-Post.php
Line: 2322
in ./Sources/Subs-Post.php (at/near line 2322):
find:
if (!empty($size['mime']))
$mime = $size['mime'];
elseif (isset($validImageTypes[$size[2]]))
$mime = 'image/' . $validImageTypes[$size[2]];
else
$mime = '';
replace:
if (!empty($size['mime']))
$mime = $size['mime'];
elseif ($size != false) {
if (isset($validImageTypes[$size[2]]))
$mime = 'image/' . $validImageTypes[$size[2]];
else
$mime = '';
}
else
$mime = '';