Page MenuHomePhabricator

PHP Fatal error: Call to a member function getName() on a non-object in SpecialMobileContributions.php on line 16
Closed, DeclinedPublic

Description

[09-Jan-2014 18:58:10] Fatal error: Call to a member function getName() on a non-object at /usr/local/apache/common-local/php-1.23wmf8/extensions/MobileFrontend/includes/specials/SpecialMobileContributions.php on line 16
Server: mw1091
Method: GET
URL: http://en.wikipedia.org/wiki/Special:Contributions/198.123.57.223
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf8/extensions/MobileFrontend/includes/specials/SpecialMobileContributions.php(16): SpecialMobileContributions::executeWhenAvailable()
#1 /usr/local/apache/common-local/php-1.23wmf8/extensions/MobileFrontend/includes/specials/MobileSpecialPage.php(30): SpecialMobileContributions->executeWhenAvailable('198.123.57.223')
#2 /usr/local/apache/common-local/php-1.23wmf8/extensions/MobileFrontend/includes/specials/MobileSpecialPageFeed.php(9): MobileSpecialPage->execute('198.123.57.223')
#3 /usr/local/apache/common-local/php-1.23wmf8/includes/specialpage/SpecialPage.php(673): MobileSpecialPageFeed->execute('198.123.57.223')
#4 /usr/local/apache/common-local/php-1.23wmf8/includes/SpecialPageFactory.php(488): SpecialPage->run('198.123.57.223')
#5 /usr/local/apache/common-local/php-1.23wmf8/includes/Wiki.php(298): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#6 /usr/local/apache/common-local/php-1.23wmf8/includes/Wiki.php(596): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.23wmf8/includes/Wiki.php(460): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.23wmf8/index.php(49): MediaWiki->run()
#9 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#10 {main}


Version: unspecified
Severity: normal

Details

Reference
bz59874

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:33 AM
bzimport set Reference to bz59874.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1612

I can't replicate this problem against current master - neither locally nor in production using the URL referenced in the backtrace. Looking at the code, I can't see how this would have even happened - unless the User class wasn't intact or otherwise wasn't working correctly.

Looking over commit history, I think this problem was fixed in master on 20 December 2013 with change-id I53f61be86ae100ebf9e9faf44ab1dbecb5f595fc, and I guess probably wasn't pushed to enwiki until after this fatal found its way into the logs.

Marking worksforme.