When I try to upload a jpg file I get the following inernal error:
[YEDUqJPL20dJg2DZY8BFbgAAAHw] /index.php?title=Special:Upload TypeError from line 694 of /home/spatialm/mediawiki/includes/media/Exif.php: abs(): Argument #1 ($num) must be of type int|float, string given
Backtrace:
#0 /home/spatialm/mediawiki/includes/media/Exif.php(694): abs(string)
#1 /home/spatialm/mediawiki/includes/media/Exif.php(716): Exif->isSlong(string)
#2 /home/spatialm/mediawiki/includes/media/Exif.php(801): Exif->isSrational(string)
#3 /home/spatialm/mediawiki/includes/media/Exif.php(336): Exif->validate(string, string, string)
#4 /home/spatialm/mediawiki/includes/media/Exif.php(308): Exif->makeFilteredData()
#5 /home/spatialm/mediawiki/includes/media/BitmapMetadataHandler.php(96): Exif->__construct(string, string)
#6 /home/spatialm/mediawiki/includes/media/BitmapMetadataHandler.php(192): BitmapMetadataHandler->getExif(string, string)
#7 /home/spatialm/mediawiki/includes/media/JpegHandler.php(105): BitmapMetadataHandler::Jpeg(string)
#8 /home/spatialm/mediawiki/includes/utils/MWFileProps.php(87): JpegHandler->getMetadata(FSFile, string)
#9 /home/spatialm/mediawiki/includes/upload/UploadBase.php(547): MWFileProps->getPropsFromPath(string, string)
#10 /home/spatialm/mediawiki/includes/upload/UploadBase.php(482): UploadBase->verifyPartialFile()
#11 /home/spatialm/mediawiki/includes/upload/UploadBase.php(390): UploadBase->verifyFile()
#12 /home/spatialm/mediawiki/includes/upload/UploadFromFile.php(95): UploadBase->verifyUpload()
#13 /home/spatialm/mediawiki/includes/specials/SpecialUpload.php(516): UploadFromFile->verifyUpload()
#14 /home/spatialm/mediawiki/includes/specials/SpecialUpload.php(214): SpecialUpload->processUpload()
#15 /home/spatialm/mediawiki/includes/specialpage/SpecialPage.php(600): SpecialUpload->execute(NULL)
#16 /home/spatialm/mediawiki/includes/specialpage/SpecialPageFactory.php(635): SpecialPage->run(NULL)
#17 /home/spatialm/mediawiki/includes/MediaWiki.php(307): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#18 /home/spatialm/mediawiki/includes/MediaWiki.php(940): MediaWiki->performRequest()
#19 /home/spatialm/mediawiki/includes/MediaWiki.php(543): MediaWiki->main()
#20 /home/spatialm/mediawiki/index.php(53): MediaWiki->run()
#21 /home/spatialm/mediawiki/index.php(46): wfIndexMain()
#22 {main}
Any ideas?