Page MenuHomePhabricator

Error: Call to a member function getConfig() on null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Error: Call to a member function getConfig() on null
exception.trace
from /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/fields/HTMLRadioField.php(82)
#0 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/fields/HTMLRadioField.php(56): HTMLRadioField->formatOptions(array, string)
#1 /srv/mediawiki/php-1.39.0-wmf.21/extensions/3D/src/PatentFormField.php(67): HTMLRadioField->getInputHTML(NULL)
#2 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLFormField.php(584): MediaWiki\Extension\ThreeD\PatentFormField->getInputHTML(NULL)
#3 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(1931): HTMLFormField->getTableRow(NULL)
#4 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(1951): HTMLForm->displaySection(array, string, string, boolean)
#5 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(1502): HTMLForm->displaySection(array, string)
#6 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(1284): HTMLForm->getBody()
#7 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(1236): HTMLForm->getHTML(boolean)
#8 /srv/mediawiki/php-1.39.0-wmf.21/includes/htmlform/HTMLForm.php(636): HTMLForm->displayForm(boolean)
#9 /srv/mediawiki/php-1.39.0-wmf.21/includes/specials/forms/UploadForm.php(441): HTMLForm->show()
#10 /srv/mediawiki/php-1.39.0-wmf.21/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php(113): UploadForm->show()
#11 /srv/mediawiki/php-1.39.0-wmf.21/includes/specialpage/SpecialPage.php(690): SpecialUploadWizard->execute(NULL)
#12 /srv/mediawiki/php-1.39.0-wmf.21/includes/specialpage/SpecialPageFactory.php(1423): SpecialPage->run(NULL)
#13 /srv/mediawiki/php-1.39.0-wmf.21/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#14 /srv/mediawiki/php-1.39.0-wmf.21/includes/MediaWiki.php(911): MediaWiki->performRequest()
#15 /srv/mediawiki/php-1.39.0-wmf.21/includes/MediaWiki.php(568): MediaWiki->main()
#16 /srv/mediawiki/php-1.39.0-wmf.21/index.php(50): MediaWiki->run()
#17 /srv/mediawiki/php-1.39.0-wmf.21/index.php(46): wfIndexMain()
#18 /srv/mediawiki/w/index.php(3): require(string)
#19 {main}
Impact
Notes

Related Objects

StatusSubtypeAssignedTask
ResolvedReleasejeena
ResolvedPRODUCTION ERRORtaavi

Event Timeline

taavi triaged this task as Unbreak Now! priority.Jul 20 2022, 7:12 PM
taavi edited projects, added MediaWiki-HTMLForm; removed UploadWizard.
taavi added subscribers: xSavitar, Umherirrender, taavi.

I think this is caused by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/787806, cc @xSavitar @Umherirrender. I'm looking if I there's an easy way to fix without reverting, but if I don't find one I'll upload a revert.

Change 815790 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/3D@master] PatentFormField: pass on $this->mParent to HTMLRadioField constructor

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

Change 815733 had a related patch set uploaded (by Ladsgroup; author: Majavah):

[mediawiki/extensions/3D@wmf/1.39.0-wmf.21] PatentFormField: pass on $this->mParent to HTMLRadioField constructor

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

Change 815790 merged by jenkins-bot:

[mediawiki/extensions/3D@master] PatentFormField: pass on $this->mParent to HTMLRadioField constructor

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

Change 815733 merged by jenkins-bot:

[mediawiki/extensions/3D@wmf/1.39.0-wmf.21] PatentFormField: pass on $this->mParent to HTMLRadioField constructor

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

Mentioned in SAL (#wikimedia-operations) [2022-07-20T19:33:57Z] <ladsgroup@deploy1002> Synchronized php-1.39.0-wmf.21/extensions/3D/src/PatentFormField.php: Backport: [[gerrit:815733|PatentFormField: pass on $this->mParent to HTMLRadioField constructor (T313432)]] (duration: 03m 08s)

taavi claimed this task.