Page MenuHomePhabricator

Cannot access any pages with Minerva skin: BadMethodCallException after login: Call to a member function exists() on a non-object (null)
Closed, DuplicatePublic

Description

2019-05-03 22:52:25 [XMzGKApAIC4AAE4bFNkAAABE] mw1325 zhwiki 1.34.0-wmf.3 exception ERROR: [XMzGKApAIC4AAE4bFNkAAABE] /zh-hant/%E7%B5%82%E6%A5%B5%E5%AE%87%E5%AE%99   BadMethodCallException from line 306 of /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Definitions.php: Call to a member function exists() on a non-object (null) {"exception_id":"XMzGKApAIC4AAE4bFNkAAABE","exception_url":"/zh-hant/%E7%B5%82%E6%A5%B5%E5%AE%87%E5%AE%99","caught_by":"mwe_handler"} 
[Exception BadMethodCallException] (/srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Definitions.php:306) Call to a member function exists() on a non-object (null)
  #0 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Main/AdvancedBuilder.php(61): MediaWiki\Minerva\Menu\Definitions->insertCommunityPortal(MediaWiki\Minerva\Menu\Group)
  #1 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Main/AdvancedBuilder.php(46): MediaWiki\Minerva\Menu\Main\AdvancedBuilder->getSiteTools()
  #2 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Main/Director.php(66): MediaWiki\Minerva\Menu\Main\AdvancedBuilder->getGroups()
  #3 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/menu/Main/Director.php(52): MediaWiki\Minerva\Menu\Main\Director->buildMenu()
  #4 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/skins/SkinMinerva.php(1092): MediaWiki\Minerva\Menu\Main\Director->getMenuData()
  #5 /srv/mediawiki/php-1.34.0-wmf.3/skins/MinervaNeue/includes/skins/SkinMinerva.php(346): SkinMinerva->getSkinConfigVariables()
  #6 /srv/mediawiki/php-1.34.0-wmf.3/includes/skins/SkinTemplate.php(227): SkinMinerva->initPage(OutputPage)
  #7 /srv/mediawiki/php-1.34.0-wmf.3/includes/OutputPage.php(2758): SkinTemplate->outputPage()
  #8 /srv/mediawiki/php-1.34.0-wmf.3/includes/MediaWiki.php(872): OutputPage->output(boolean)
  #9 /srv/mediawiki/php-1.34.0-wmf.3/includes/MediaWiki.php(884): Closure$MediaWiki::main()
  #10 /srv/mediawiki/php-1.34.0-wmf.3/includes/MediaWiki.php(515): MediaWiki->main()
  #11 /srv/mediawiki/php-1.34.0-wmf.3/index.php(42): MediaWiki->run()
  #12 /srv/mediawiki/w/index.php(3): include(string)
  #13 {main}

Event Timeline

A2093064 created this task.May 4 2019, 1:57 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 4 2019, 1:57 AM
Reedy updated the task description. (Show Details)
Restricted Application added a subscriber: Cosine02. · View Herald TranscriptMay 4 2019, 2:05 AM
Aklapper renamed this task from BadMethodCallException after login to BadMethodCallException after login: Call to a member function exists() on a non-object (null).May 4 2019, 11:00 AM
Urbanecm triaged this task as Unbreak Now! priority.May 6 2019, 12:09 PM
Urbanecm added a subscriber: Urbanecm.

Affects every pageview with minerva, see https://cs.wikipedia.org/w/index.php?title=Hlavn%C3%AD_strana&useskin=minerva. Promoting to UBN, many . If someone disagrees, feel free to re-triage.

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMay 6 2019, 12:09 PM
Aklapper renamed this task from BadMethodCallException after login: Call to a member function exists() on a non-object (null) to Cannot access any pages with Minerva skin: BadMethodCallException after login: Call to a member function exists() on a non-object (null).May 6 2019, 12:26 PM
pmiazga claimed this task.May 6 2019, 1:32 PM

@Urbanecm it affects only

  • mobile web users with AMC mode turned on
  • desktop AMC users

The fix will go live tomorrow, if you think it's high I can backport the patch and swat it today. Lets continue conversation in T222407

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptMay 6 2019, 1:38 PM