当我在magento 2.4.3中上传图像时,我得到以下错误
不显示在前端或产品网格
[2022-05-28 17:46:30] main.CRITICAL: Warning: imageinterlace() expects parameter 1 to be resource, null given in /vendor/magento/framework/Image/Adapter/Gd2.php on line 201 {"exception":"[object] (Exception(code: 0): Warning: imageinterlace() expects parameter 1 to be resource, null given in /vendor/magento/framework/Image/Adapter/Gd2.php on line 201 at /vendor/magento/framework/App/ErrorHandler.php:61)"} []
我最终通过完全替换文件夹来修复它/vendor/magento/framework/Image/