Page MenuHomePhabricator

TypeError: MediaWiki\Extension\WikiLambda\ZObjects\ZObject::setValueByKey(): Argument #2 ($value) must be of type MediaWiki\Extension\WikiLambda\ZObjects\ZObject, string given, called in /srv/mediawiki/php-1.44.0-wmf.28/extensi
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   TypeError: MediaWiki\Extension\WikiLambda\ZObjects\ZObject::setValueByKey(): Argument #2 ($value) must be of type MediaWiki\Extension\WikiLambda\ZObjects\ZObject, string given, called in /srv/mediawiki/php-1.44.0-wmf.28/extensi
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.28/extensions/WikiLambda/includes/ZObjects/ZObject.php(118)
#0/srv/mediawiki/php-1.44.0-wmf.28/extensions/WikiLambda/includes/ActionAPI/ApiPerformTest.php(289)MediaWiki\Extension\WikiLambda\ZObjects\ZObject->setValueByKey(string, string)
#1/srv/mediawiki/php-1.44.0-wmf.28/extensions/WikiLambda/includes/ActionAPI/WikiLambdaApiBase.php(82)MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest->run()
#2/srv/mediawiki/php-1.44.0-wmf.28/includes/api/ApiMain.php(2010)MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase->execute()
#3/srv/mediawiki/php-1.44.0-wmf.28/includes/api/ApiMain.php(948)MediaWiki\Api\ApiMain->executeAction()
#4/srv/mediawiki/php-1.44.0-wmf.28/includes/api/ApiMain.php(919)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#5/srv/mediawiki/php-1.44.0-wmf.28/includes/api/ApiEntryPoint.php(152)MediaWiki\Api\ApiMain->execute()
#6/srv/mediawiki/php-1.44.0-wmf.28/includes/MediaWikiEntryPoint.php(202)MediaWiki\Api\ApiEntryPoint->execute()
#7/srv/mediawiki/php-1.44.0-wmf.28/api.php(44)MediaWiki\MediaWikiEntryPoint->run()
#8/srv/mediawiki/w/api.php(3)require(string)
#9{main}
Impact
Notes

Details

Request URL
https://www.wikifunctions.org/w/api.php?action=*&format=*&uselang=*&wikilambda_perform_test_zfunction=*&wikilambda_perform_test_zimplementations=*&wikilambda_perform_test_ztesters=*
Related Changes in Gerrit:

Event Timeline

Change #1145337 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] ApiPerformTest: Don't let a type error from user input being invalid result in a server-side error

https://gerrit.wikimedia.org/r/1145337

Change #1145337 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ApiPerformTest: Don't let a type error from user input being invalid result in a server-side error

https://gerrit.wikimedia.org/r/1145337