Page MenuHomePhabricator

ZObjectUtils: TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
Open, MediumPublicPRODUCTION ERROR

Description

Error
  • service.version: 1.46.0-wmf.14
  • timestamp: 2026-02-05T21:27:11.278Z
  • labels.phpversion: 8.3.30
  • trace.id: 3e23f63a-83c9-4fd8-9de2-986f93170eac
  • Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url}   TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.14/extensions/WikiLambda/includes/ZObjectUtils.php(1146)
#0/srv/mediawiki/php-1.46.0-wmf.14/extensions/WikiLambda/includes/ZObjectUtils.php(1146)property_exists(array, string)
#1/srv/mediawiki/php-1.46.0-wmf.14/extensions/WikiLambda/includes/PublicAPI/PublicApiRun.php(71)MediaWiki\Extension\WikiLambda\ZObjectUtils::getFunctionZidOrNull(array)
#2/srv/mediawiki/php-1.46.0-wmf.14/extensions/WikiLambda/includes/ActionAPI/WikiLambdaApiBase.php(103)MediaWiki\Extension\WikiLambda\PublicAPI\PublicApiRun->run()
#3/srv/mediawiki/php-1.46.0-wmf.14/includes/Api/ApiMain.php(2061)MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase->execute()
#4/srv/mediawiki/php-1.46.0-wmf.14/includes/Api/ApiMain.php(965)MediaWiki\Api\ApiMain->executeAction()
#5/srv/mediawiki/php-1.46.0-wmf.14/includes/Api/ApiMain.php(936)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#6/srv/mediawiki/php-1.46.0-wmf.14/includes/Api/ApiEntryPoint.php(138)MediaWiki\Api\ApiMain->execute()
#7/srv/mediawiki/php-1.46.0-wmf.14/includes/MediaWikiEntryPoint.php(180)MediaWiki\Api\ApiEntryPoint->execute()
#8/srv/mediawiki/php-1.46.0-wmf.14/api.php(30)MediaWiki\MediaWikiEntryPoint->run()
#9/srv/mediawiki/w/api.php(3)require(string)
#10{main}
Notes

Noted a few of these in 1.46.0-wmf.14 (T413805).

Details

Request URL
https://www.wikifunctions.org/w/api.php?action=*&format=*&function_call=*

Event Timeline

brennen renamed this task from TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given to ZObjectUtils: TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given.Feb 5 2026, 9:29 PM