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(624): LocalFile->load()
#14 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/FileRepo.php(358): LocalFile->exists()
#15 /apps/xmlpipedb/biodb/fall2013/includes/filerepo/RepoGroup.php(146): FileRepo->findFile()
#16 /apps/xmlpipedb/biodb/fall2013/includes/GlobalFunctions.php(3472): RepoGroup->findFile()
#17 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(3641): wfFindFile()
#18 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(5037): Parser->fetchFileAndTitle()
#19 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(1977): Parser->makeImage()
#20 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(1718): Parser->replaceInternalLinks2()
#21 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(1158): Parser->replaceInternalLinks()
#22 /apps/xmlpipedb/biodb/fall2013/includes/parser/Parser.php(370): Parser->internalParse()
#23 /apps/xmlpipedb/biodb/fall2013/includes/WikiPage.php(3110): Parser->parse()
#24 /apps/xmlpipedb/biodb/fall2013/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
#25 /apps/xmlpipedb/biodb/fall2013/includes/WikiPage.php(1028): PoolCounterWork->execute()
#26 /apps/xmlpipedb/biodb/fall2013/includes/diff/DifferenceEngine.php(545): WikiPage->getParserOutput()
#27 /apps/xmlpipedb/biodb/fall2013/includes/diff/DifferenceEngine.php(411): DifferenceEngine->renderNewRevision()
#28 /apps/xmlpipedb/biodb/fall2013/includes/Article.php(725): DifferenceEngine->showDiffPage()
#29 /apps/xmlpipedb/biodb/fall2013/includes/Article.php(478): Article->showDiffPage()
#30 /apps/xmlpipedb/biodb/fall2013/includes/actions/ViewAction.php(37): Article->view()
#31 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(427): ViewAction->show()
#32 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(304): MediaWiki->performAction()
#33 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(536): MediaWiki->performRequest()
#34 /apps/xmlpipedb/biodb/fall2013/includes/Wiki.php(446): MediaWiki->main()
#35 /apps/xmlpipedb/biodb/fall2013/index.php(59): MediaWiki->run()
#36 {main}