ggabriel → created an issue.
I admit that my Drupal knowledge is not enough to figure out what's going on exactly. From a code perspective, it seems like the Exif folks ought to add a NULL check here: https://git.drupalcode.org/project/exif/-/blob/8.x-2.x/src/ExifContent.p...
As far as this module is concerned, I think this is "fixed" - although the only way I could achieve my objective of importing the photo metadata is by using the Image toolkit Imagick; indeed, I even had to disable the Exif Orientation module. In any case, I got a 500 error by using GD/Exif/Exif Orientation.
Apologies I couldn't get any farther with this and fix the real issue (i.e., making this work with the GD Image toolkit).
Thanks, viren18febS - just tried that but there's another error upstream:
ResponseText: The website encountered an unexpected error. Try again later.Error: Call to a member function getComponent() on null in Drupal\exif\ExifContent->filterFieldsOnSettings() (line 124 of modules/contrib/exif/src/ExifContent.php). Drupal\exif\ExifContent->entityInsertUpdate('photos_image', Object) (Line: 1492)
photos_image_update_exif_data(Object) (Line: 1472)
photos_photos_image_presave(Object)
call_user_func_array(Object, Array) (Line: 409)
I'll have a look when I get more time...
ggabriel → created an issue.