Page MenuHomePhabricator

BadMethodCallException on betalabs dewiki for specific article
Closed, ResolvedPublic

Description

If you try to open http://de.wikipedia.beta.wmflabs.org/wiki/Testlange you get a BadMethodCallException, content is available via the api[1]. The same content in production[2] works without any problem.

[1] http://de.wikipedia.beta.wmflabs.org/w/api.php?action=query&prop=revisions&titles=Testlange&rvprop=timestamp%7Cuser%7Ccomment%7Ccontent
[2] https://de.wikipedia.org/wiki/Deutschland

Trace:

Exception encountered, of type "BadMethodCallException"
[d7628421] /wiki/Testlange?action=edit BadMethodCallException from line 434 of /srv/mediawiki/php-master/includes/filerepo/FileRepo.php: Call to a member function load() on a non-object (boolean)
Backtrace:
#0 /srv/mediawiki/php-master/includes/filerepo/RepoGroup.php(158): FileRepo->findFile(Title, array)
#1 /srv/mediawiki/php-master/includes/GlobalFunctions.php(3640): RepoGroup->findFile(Title, array)
#2 /srv/mediawiki/php-master/extensions/FlaggedRevs/backend/FlaggedRevision.php(839): wfFindFile(Title, array)
#3 /srv/mediawiki/php-master/extensions/FlaggedRevs/backend/FlaggedRevision.php(806): FlaggedRevision->fileChanged(Title, string, string)
#4 /srv/mediawiki/php-master/extensions/FlaggedRevs/backend/FlaggableWikiPage.php(201): FlaggedRevision->findPendingFileChanges(string)
#5 /srv/mediawiki/php-master/extensions/FlaggedRevs/frontend/FlaggablePageView.php(1262): FlaggableWikiPage->stableVersionIsSynced()
#6 /srv/mediawiki/php-master/extensions/FlaggedRevs/frontend/FlaggedRevsUI.hooks.php(186): FlaggablePageView->setViewTabs(SkinVector, array, string)
#7 /srv/mediawiki/php-master/includes/Hooks.php(205): FlaggedRevsUIHooks::onSkinTemplateNavigation(SkinVector, array)
#8 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(1022): Hooks::run(string, array)
#9 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(446): SkinTemplate->buildContentNavigationUrls()
#10 /srv/mediawiki/php-master/includes/skins/SkinTemplate.php(230): SkinTemplate->prepareQuickTemplate()
#11 /srv/mediawiki/php-master/includes/OutputPage.php(2311): SkinTemplate->outputPage()
#12 /srv/mediawiki/php-master/includes/MediaWiki.php(686): OutputPage->output()
#13 /srv/mediawiki/php-master/includes/MediaWiki.php(475): MediaWiki->main()
#14 /srv/mediawiki/php-master/index.php(41): MediaWiki->run()
#15 /srv/mediawiki/w/index.php(3): include(string)
#16 {main}

Event Timeline

Florian created this task.Jul 10 2015, 2:31 PM
Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian added a subscriber: Florian.
Restricted Application added a project: Multimedia. · View Herald TranscriptJul 10 2015, 2:31 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 224083 had a related patch set uploaded (by Florianschmidtwelzow):
Don't try to call load() on non-object

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

Restricted Application added a subscriber: Matanya. · View Herald TranscriptJul 10 2015, 2:33 PM
Umherirrender closed this task as Resolved.Jul 10 2015, 6:44 PM
Umherirrender assigned this task to aaron.
Umherirrender set Security to None.
Umherirrender added a subscriber: Umherirrender.

Change 224083 merged by jenkins-bot:
Don't try to call load() on non-object

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