Last modified: 2014-01-31 19:58:49 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 T44740, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42740 - PHP Fatal error: Call to a member function getRedirectChain() on a non-object
PHP Fatal error: Call to a member function getRedirectChain() on a non-object
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-05 21:53 UTC by Sam Reed (reedy)
Modified: 2014-01-31 19:58 UTC (History)
1 user (show)

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


Attachments

Description Sam Reed (reedy) 2012-12-05 21:53:30 UTC
PHP Fatal error:  Call to a member function getRedirectChain() on a non-object in /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php on line 2985

[05-Dec-2012 21:17:11] Fatal error: Call to a member function getRedirectChain() on a non-object at /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php o$
Server: srv192
Method: GET
URL: http://cs.wikipedia.org/w/index.php?title=Svaz_pr%C5%AFmyslu_a_dopravy&action=edit&oldid=9346695
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(2985): EditPage::getPreviewText()
#1 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(2010): EditPage->getPreviewText()
#2 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(421): EditPage->showEditForm()
#3 /usr/local/apache/common-local/php-1.21wmf5/includes/actions/EditAction.php(51): EditPage->edit()
#4 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(429): EditAction->show()
#5 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#6 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(555): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(448): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.21wmf5/index.php(59): MediaWiki->run()
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}
Comment 1 Sam Reed (reedy) 2012-12-05 22:11:04 UTC
	protected function toEditContent( $text ) {
		if ( $text === false || $text === null ) {
			return $text;
		}
Comment 2 Andre Klapper 2012-12-06 12:10:28 UTC
Reedy: I have no idea how bad this is, so if you just paste a stacktrace I'd appreciate if you could also set priority and severity.
Comment 3 Sam Reed (reedy) 2013-10-21 18:39:02 UTC
[21-Oct-2013 18:35:11] Fatal error: Call to a member function getRedirectChain() on a non-object at /usr/local/apache/common-local/php-1.22wmf21/includes/EditPage.php on line 3169
Server: mw1211
Method: GET
URL: http://en.wikipedia.org/w/index.php?title=Massachusetts&action=edit&oldid=11488920
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf21/includes/EditPage.php(3169): EditPage::getPreviewText()
#1 /usr/local/apache/common-local/php-1.22wmf21/includes/EditPage.php(2152): EditPage->getPreviewText()
#2 /usr/local/apache/common-local/php-1.22wmf21/includes/EditPage.php(441): EditPage->showEditForm()
#3 /usr/local/apache/common-local/php-1.22wmf21/includes/actions/EditAction.php(50): EditPage->edit()
#4 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(448): EditAction->show()
#5 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(312): MediaWiki->performAction(Object(Article), Object(Title))
#6 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(602): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(467): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.22wmf21/index.php(49): MediaWiki->run()
#9 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#10 {main}
Comment 4 Umherirrender 2013-11-07 19:16:48 UTC
Both urls are now reachable. Looks like the revision on the server was fixed, because EditPage.php looks unchanged in the near of the getRedirectChain call.
Comment 5 Umherirrender 2014-01-31 19:58:49 UTC
The getRedirectChain call was removed with Gerrit change #105829, so this fatal will no longer be occured.

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


Navigation
Links