Last modified: 2014-02-12 23:54:57 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 T38907, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36907 - null object passed to WmlContext constructor
null object passed to WmlContext constructor
Status: RESOLVED WORKSFORME
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-16 14:49 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-02-12 23:54 UTC (History)
10 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-16 14:49:47 UTC
Seen a few errors on the live cluster for 1.20wmf2 branch:

May 16 14:00:45 10.0.2.203 apache2[4570]: PHP Catchable fatal error:  Argument 1 passed to WmlContext::__construct() must be an instance of ExtMobileFrontend, none given, called in /usr/local/apache/common-local/php-1.20wmf2/extensions/MobileFrontend/api/ApiParseExtender.php on line 72 and defined in /usr/local/apache/common-local/php-1.20wmf2/extensions/MobileFrontend/WmlContext.php on line 12
Comment 1 Sam Reed (reedy) 2012-05-17 01:10:22 UTC
	public function __construct( MobileContext $context = null ) {
		if ( $context ) {
			$request = $context->getRequest();
			$this->requestedSegment = $request->getInt( 'seg', 0 );
			$useFormat = $context->getUseFormat();
			if ( $useFormat ) {
				$this->useFormat = $useFormat;
			}
		}
	}



it looks like it's been cleaned up in the backlog

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


Navigation
Links