Page MenuHomePhabricator

PHP Notice: Trying to get property 'Z7K1' of non-object
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   PHP Notice: Trying to get property 'Z7K1' of non-object
error.stack_trace
from /srv/mediawiki/php-1.42.0-wmf.18/extensions/WikiLambda/includes/API/ApiFunctionCall.php(88)
#0 /srv/mediawiki/php-1.42.0-wmf.18/extensions/WikiLambda/includes/API/ApiFunctionCall.php(88): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.42.0-wmf.18/extensions/WikiLambda/includes/API/ApiFunctionCall.php(48): MediaWiki\Extension\WikiLambda\API\ApiFunctionCall->run()
#2 /srv/mediawiki/php-1.42.0-wmf.18/includes/api/ApiMain.php(1945): MediaWiki\Extension\WikiLambda\API\ApiFunctionCall->execute()
#3 /srv/mediawiki/php-1.42.0-wmf.18/includes/api/ApiMain.php(921): ApiMain->executeAction()
#4 /srv/mediawiki/php-1.42.0-wmf.18/includes/api/ApiMain.php(892): ApiMain->executeActionWithErrorHandling()
#5 /srv/mediawiki/php-1.42.0-wmf.18/includes/api/ApiEntryPoint.php(158): ApiMain->execute()
#6 /srv/mediawiki/php-1.42.0-wmf.18/includes/MediaWikiEntryPoint.php(199): MediaWiki\Api\ApiEntryPoint->execute()
#7 /srv/mediawiki/php-1.42.0-wmf.18/api.php(44): MediaWiki\MediaWikiEntryPoint->run()
#8 /srv/mediawiki/w/api.php(3): require(string)
#9 {main}
Impact
Notes

A single spike of these in 1.42.0-wmf.18 (T354436). All coming from similar requests - not manually reproducible by loading URL.

Details

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

Event Timeline

Hmm, this shouldn't happen, but will write a quick fix to error better.

Mcastro moved this task from To triage to Backlog on the Abstract Wikipedia team board.

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

[mediawiki/extensions/WikiLambda@master] ApiFunctionCall: Bail on checking the outgoing request if it's malformed

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

Jdforrester-WMF changed the task status from Open to In Progress.Feb 15 2024, 6:16 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 1003809 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ApiFunctionCall: Bail on checking the outgoing request if it's malformed

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