[FATAL] AOS_Products save - Invalid image file ext : ''. (after upgrade to 7.13.1)

I don’t use pictures. Therefore, until I find a solution, I disabled the lines:

if (!has_valid_image_extension('AOS_Products Uploaded image file: ’ . $imageFileName , $imageFileName)) {
LoggerManager::getLogger()->fatal(“AOS_Products save - Invalid image file ext : ‘$imageFileName’.”);
throw new RuntimeException(‘Invalid request’);
}

in file sugarcrm/modules/AOS_Products/AOS_Products.php. For me it works…

4 Likes