Adding an image object using drag and drop can fail without an apparent reason. This patch shows an error when this happens so that the user can react accordingly (in this example switch to object mode, add the image and switch back to edit mode). Pull Request: https://projects.blender.org/blender/blender/pulls/132994