TypeError thrown

Argument 1 passed to lsolesen\pel\PelJpeg::setExif() must be an instance of lsolesen\pel\PelExif, null given, called in /home/clients/fcf8aec470d5dd5292fdb0ba6133d90c/web/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/pel-0.9.6/class.exif_writer.php on line 119