Page MenuHomePhabricator

PHP Notice: Array to string conversion (in includes/media/FormatMetadata.php)
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   PHP Notice: Array to string conversion
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.16/includes/media/FormatMetadata.php(1219)
#0[internal function]MWExceptionHandler::handleError(int, string, string, int, array)
#1/srv/mediawiki/php-1.44.0-wmf.16/includes/media/FormatMetadata.php(1219)implode(string, array)
#2/srv/mediawiki/php-1.44.0-wmf.16/includes/media/ExifBitmapHandler.php(83)FormatMetadata->flattenArrayReal(array, string, bool)
#3/srv/mediawiki/php-1.44.0-wmf.16/includes/filerepo/file/File.php(827)ExifBitmapHandler->convertMetadataVersion(array, int)
#4/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiQueryImageInfo.php(635)File->convertMetadataVersion(array, string)
#5/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiQueryImageInfo.php(238)MediaWiki\Api\ApiQueryImageInfo::getInfo(LocalFile, array, MediaWiki\Api\ApiResult, null, array)
#6/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiQuery.php(727)MediaWiki\Api\ApiQueryImageInfo->execute()
#7/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiMain.php(2011)MediaWiki\Api\ApiQuery->execute()
#8/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiMain.php(946)MediaWiki\Api\ApiMain->executeAction()
#9/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiMain.php(917)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#10/srv/mediawiki/php-1.44.0-wmf.16/includes/api/ApiEntryPoint.php(152)MediaWiki\Api\ApiMain->execute()
#11/srv/mediawiki/php-1.44.0-wmf.16/includes/MediaWikiEntryPoint.php(202)MediaWiki\Api\ApiEntryPoint->execute()
#12/srv/mediawiki/php-1.44.0-wmf.16/api.php(44)MediaWiki\MediaWikiEntryPoint->run()
#13/srv/mediawiki/w/api.php(3)require(string)
#14{main}
Impact
Notes

Details

Request URL
https://commons.wikimedia.org/w/api.php?action=query&format=*&iilimit=*&iiprop=*&prop=*&titles=*

Event Timeline

Is there "contains nested arrays" in log too?