Unexpected non-MediaWiki exception encountered, of type "TypeError"
TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in /apps/xmlpipedb/biodb/fall2013/includes/media/XMP.php:637
Stack trace:
#0 [internal function]: XMPReader->endElement()
#1 /apps/xmlpipedb/biodb/fall2013/includes/media/XMP.php(294): xml_parse()
#2 /apps/xmlpipedb/biodb/fall2013/includes/media/BitmapMetadataHandler.php(166): XMPReader->parse()
#3 /apps/xmlpipedb/biodb/fall2013/includes/media/Jpeg.php(37): BitmapMetadataHandler::Jpeg()
#4 /apps/xmlpipedb/biodb/fall2013/includes/filebackend/FSFile.php(135): JpegHandler->getMetadata()
#5 /apps/xmlpipedb/biodb/fall2013/includes/filebackend/FileBackendStore.php(716): FSFile->getProps()
#6 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/FileRepo.php(1380): FileBackendStore->getFileProps()
#7 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(262): FileRepo->getFileProps()
#8 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(423): LocalFile->loadFromFile()
#9 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(404): LocalFile->upgradeRow()
#10 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(367): LocalFile->maybeUpgradeRow()
#11 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(307): LocalFile->loadFromRow()
#12 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(376): LocalFile->loadFromDB()
#13 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/LocalFile.php(599): LocalFile->load()
#14 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/File.php(1004): LocalFile->getMimeType()
#15 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/File.php(589): File->getHandler()
#16 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/file/File.php(864): File->canRender()
#17 /apps/xmlpipedb/biodb/fall2013/includes/specials/SpecialListfiles.php(191): File->transform()
#18 /apps/xmlpipedb/biodb/fall2013/includes/Pager.php(1001): ImageListPager->formatValue()
#19 /apps/xmlpipedb/biodb/fall2013/includes/Pager.php(422): TablePager->formatRow()
#20 /apps/xmlpipedb/biodb/fall2013/includes/specials/SpecialListfiles.php(48): IndexPager->getBody()
#21 /apps/xmlpipedb/biodb/fall2013/includes/SpecialPage.php(611): SpecialListFiles->execute()
#22 /apps/xmlpipedb/biodb/fall2013/includes/SpecialPageFactory.php(494): SpecialPage->run()
#23 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(290): SpecialPageFactory::executePath()
#24 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(536): MediaWiki->performRequest()
#25 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(446): MediaWiki->main()
#26 /apps/xmlpipedb/biodb/fall2013/index.php(59): MediaWiki->run()
#27 {main}