Error
- mwversion: 1.38.0-wmf.23
- reqId: 8e1e9139-eaa1-4c69-a684-557ce6336bdc
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Notice: Undefined index: watchlistdays-local-exception
from /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/HTMLFormField.php(165) #0 /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/HTMLFormField.php(165): MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/HTMLFormField.php(277): HTMLFormField->getNearestFieldValue(array, string, boolean, boolean) #2 /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/HTMLFormField.php(367): HTMLFormField->checkStateRecurse(array, array) #3 /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/HTMLFormField.php(398): HTMLFormField->isDisabled(array) #4 /srv/mediawiki/php-1.38.0-wmf.23/includes/htmlform/fields/HTMLFloatField.php(14): HTMLFormField->validate(string, array) #5 /srv/mediawiki/php-1.38.0-wmf.23/includes/api/ApiOptions.php(128): HTMLFloatField->validate(string, array) #6 /srv/mediawiki/php-1.38.0-wmf.23/includes/api/ApiMain.php(1891): ApiOptions->execute() #7 /srv/mediawiki/php-1.38.0-wmf.23/includes/api/ApiMain.php(869): ApiMain->executeAction() #8 /srv/mediawiki/php-1.38.0-wmf.23/includes/api/ApiMain.php(840): ApiMain->executeActionWithErrorHandling() #9 /srv/mediawiki/php-1.38.0-wmf.23/api.php(90): ApiMain->execute() #10 /srv/mediawiki/php-1.38.0-wmf.23/api.php(45): wfApiMain() #11 /srv/mediawiki/w/api.php(3): require(string) #12 {main}
Impact
A moderate rate (~20 messages per hour) of log spam.
Notes
Seemingly introduced by HTMLFormField: Make the behavior of cond-state consistent between client and server. Note the message is not normalized and there are a variety of similar error messages mentioning different assoc array keys, which makes this more spammy than normal as it fills up the top hits of our logstash dashboards.