Page MenuHomePhabricator

Wikidata Beta returns a stack trace
Closed, ResolvedPublic

Description

Both the Main page and Entities return a stack trace of the following form:

MediaWiki internal error.

Original exception: [XdL8WKwQBHcAACSDdKQAAAAX] /wiki/Property:P2 MWException from line 164 of /srv/mediawiki/php-master/includes/Hooks.php: Invalid callback WikidataOrg\Hooks::onBeforePageDisplay in hooks for BeforePageDisplay

Backtrace:
#0 /srv/mediawiki/php-master/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#1 /srv/mediawiki/php-master/includes/OutputPage.php(2623): Hooks::runWithoutAbort(string, array)
#2 /srv/mediawiki/php-master/includes/MediaWiki.php(974): OutputPage->output(boolean)
#3 /srv/mediawiki/php-master/includes/MediaWiki.php(987): MediaWiki->{closure}()
#4 /srv/mediawiki/php-master/includes/MediaWiki.php(530): MediaWiki->main()
#5 /srv/mediawiki/php-master/index.php(46): MediaWiki->run()
#6 /srv/mediawiki/w/index.php(3): require(string)
#7 {main}

Exception caught inside exception handler: [XdL8WKwQBHcAACSDdKQAAAAX] /wiki/Property:P2 MWException from line 164 of /srv/mediawiki/php-master/includes/Hooks.php: Invalid callback WikidataOrg\Hooks::onBeforePageDisplay in hooks for BeforePageDisplay

Backtrace:
#0 /srv/mediawiki/php-master/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#1 /srv/mediawiki/php-master/includes/OutputPage.php(2623): Hooks::runWithoutAbort(string, array)
#2 /srv/mediawiki/php-master/includes/exception/MWException.php(180): OutputPage->output()
#3 /srv/mediawiki/php-master/includes/exception/MWException.php(216): MWException->reportHTML()
#4 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(101): MWException->report()
#5 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(177): MWExceptionHandler::report(MWException)
#6 /srv/mediawiki/php-master/includes/MediaWiki.php(563): MWExceptionHandler::handleException(MWException)
#7 /srv/mediawiki/php-master/index.php(46): MediaWiki->run()
#8 /srv/mediawiki/w/index.php(3): require(string)
#9 {main}

Details

Related Gerrit Patches:
mediawiki/extensions/Wikidata.org : wmf/1.35.0-wmf.5Switch from load_composer_autoloader AutoloadNamespaces
mediawiki/extensions/Wikidata.org : masterSwitch from load_composer_autoloader AutoloadNamespaces
mediawiki/extensions/Wikidata.org : masterRevert "Add WDQS lag into request maxlag logic."

Event Timeline

Tarrow created this task.Nov 18 2019, 8:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 18 2019, 8:19 PM
Addshore claimed this task.Nov 18 2019, 8:20 PM
Addshore added a subscriber: Addshore.

Sounds like this is me..

Restricted Application added a project: User-Addshore. · View Herald TranscriptNov 18 2019, 8:20 PM

Pinging @Lucas_Werkmeister_WMDE since he has the incident manager mug

Change 551637 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikidata.org@master] Revert "Add WDQS lag into request maxlag logic."

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

Ladsgroup added a subscriber: Ladsgroup.

The offending patch just got reverted. It takes some time to take into effect but it should be fixed now.

Restricted Application added a project: User-Ladsgroup. · View Herald TranscriptNov 18 2019, 8:30 PM
Ladsgroup reassigned this task from Ladsgroup to Addshore.Nov 18 2019, 8:31 PM

People are really fast here :D

Change 551640 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikidata.org@master] Switch from load_composer_autoloader AutoloadNamespaces

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

Change 551637 abandoned by Ladsgroup:
Revert "Add WDQS lag into request maxlag logic."

Reason:
Done in a better way

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

Maintenance_bot moved this task from Incoming to In progress on the User-Ladsgroup board.

Change 551640 merged by jenkins-bot:
[mediawiki/extensions/Wikidata.org@master] Switch from load_composer_autoloader AutoloadNamespaces

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

Tarrow closed this task as Resolved.Nov 18 2019, 9:29 PM

Thanks @Addshore. That's the fix :)

Change 551856 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikidata.org@wmf/1.35.0-wmf.5] Switch from load_composer_autoloader AutoloadNamespaces

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

Change 551856 merged by jenkins-bot:
[mediawiki/extensions/Wikidata.org@wmf/1.35.0-wmf.5] Switch from load_composer_autoloader AutoloadNamespaces

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