Page MenuHomePhabricator

api prop=imageinfo broken on PHP 5.4
Closed, ResolvedPublic

Description

For any image request, it seems imageinfo is broken on master...

<?xml version="1.0"?>
<api servedby="ubuntu64-web-esxi">

<error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setElement: Bad parameter" xml:space="preserve">

#0 /var/www/wiki/mediawiki/core/includes/api/ApiBase.php(1420): wfDebugDieBacktrace('Internal error ...')
#1 /var/www/wiki/mediawiki/core/includes/api/ApiResult.php(144): ApiBase::dieDebug('ApiResult::setE...', 'Bad parameter')
#2 /var/www/wiki/mediawiki/core/includes/api/ApiResult.php(290): ApiResult::setElement('page', 'imagerepository', '', false)
#3 /var/www/wiki/mediawiki/core/includes/api/ApiQueryImageInfo.php(179): ApiResult->addValue(Array, 'imagerepository', '')
#4 /var/www/wiki/mediawiki/core/includes/api/ApiQuery.php(327): ApiQueryImageInfo->execute()
#5 /var/www/wiki/mediawiki/core/includes/api/ApiMain.php(820): ApiQuery->execute()
#6 /var/www/wiki/mediawiki/core/includes/api/ApiMain.php(372): ApiMain->executeAction()
#7 /var/www/wiki/mediawiki/core/includes/api/ApiMain.php(349): ApiMain->executeActionWithErrorHandling()
#8 /var/www/wiki/mediawiki/core/api.php(77): ApiMain->execute()
#9 {main}

</error>
</api>


Version: unspecified
Severity: major

Details

Reference
bz41234

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:04 AM
bzimport set Reference to bz41234.
bzimport added a subscriber: Unknown Object (MLST).
Reedy created this task.Oct 20 2012, 12:04 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptJan 28 2016, 6:12 PM
Danny_B moved this task from Unsorted to PHP 5.4 on the [DO NOT USE] NewPHP board.Jul 11 2016, 1:54 AM