Last modified: 2014-02-12 23:55:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61874, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59874 - PHP Fatal error: Call to a member function getName() on a non-object in SpecialMobileContributions.php on line 16
PHP Fatal error: Call to a member function getName() on a non-object in Spec...
Status: RESOLVED WORKSFORME
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 19:21 UTC by Sam Reed (reedy)
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-01-09 19:21:46 UTC
[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}
Comment 1 Bingle 2014-01-09 19:25:42 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1612
Comment 2 Arthur Richards 2014-01-14 01:52:07 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links