Page MenuHomePhabricator

PHP Notice: Undefined property: stdClass::$nsName
Open, MediumPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Notice: Undefined property: stdClass::$nsName
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.21/extensions/JsonConfig/includes/JCApi.php(16)
#0 /srv/mediawiki/php-1.37.0-wmf.21/extensions/JsonConfig/includes/JCApi.php(16): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.37.0-wmf.21/extensions/JsonConfig/includes/JCApi.php(65): JsonConfig\JCApi::addStatusConf(stdClass)
#2 /srv/mediawiki/php-1.37.0-wmf.21/includes/api/ApiMain.php(1845): JsonConfig\JCApi->execute()
#3 /srv/mediawiki/php-1.37.0-wmf.21/includes/api/ApiMain.php(824): ApiMain->executeAction()
#4 /srv/mediawiki/php-1.37.0-wmf.21/includes/api/ApiMain.php(795): ApiMain->executeActionWithErrorHandling()
#5 /srv/mediawiki/php-1.37.0-wmf.21/api.php(90): ApiMain->execute()
#6 /srv/mediawiki/php-1.37.0-wmf.21/api.php(45): wfApiMain()
#7 /srv/mediawiki/w/api.php(3): require(string)
#8 {main}
Impact

Might be that some data is missing in the response.

Notes

It is consistently reproducible by visiting https://meta.wikimedia.org/w/api.php?action=jsonconfig&format=json.

Details

Request URL
https://meta.wikimedia.org/w/api.php?action=jsonconfig&format=json

Event Timeline

Krinkle triaged this task as Medium priority.Sep 8 2021, 6:28 PM
Krinkle moved this task from Untriaged to Sep 2021 on the Wikimedia-production-error board.
Jgiannelos subscribed.

Visiting the URL didn't reproduce the issue. Closing this ticket for now as invalid. Please reopen if this is still a valid issue with a URL that reproduces the error.

Zabe subscribed.

It does, see 26cd8fdb-fd45-45c0-911a-af1b621ec630.

Re-tagging per mw:Maintainers. If this is incorrect, please indicate who owns it instead and/or update the Maintainers page and tag this task with Unstewarded-production-error.

MSantos subscribed.