Page MenuHomePhabricator

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

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

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 subscribed.

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.

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

@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

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM