Last modified: 2012-12-09 05:05:05 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 T35165, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33165 - GlobalFunctions.php line 1312: Call to a member function getText() on a non-object
GlobalFunctions.php line 1312: Call to a member function getText() on a non-o...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.18.x
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: John Du Hart
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-15 12:03 UTC by DavidL
Modified: 2012-12-09 05:05 UTC (History)
6 users (show)

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


Attachments

Description DavidL 2011-12-15 12:03:03 UTC
The following error message appear when I try to delete the following page on fr.wikibooks.org :
  Wikilivres:Compilations/Icône version compilée

PHP fatal error in /usr/local/apache/common-local/php-1.18/includes/GlobalFunctions.php line 1312:
Call to a member function getText() on a non-object 

The problem (with screenshot) is detailled here :
  https://fr.wikibooks.org/wiki/Wikilivres:Le_Bistro/Messages_actuels#Nouveau_bug
Comment 1 DavidL 2011-12-15 13:22:02 UTC
The problem appears for any page.
Comment 2 DavidL 2011-12-15 16:37:02 UTC
NO ONE ???????????
Comment 3 Chad H. 2011-12-15 16:46:23 UTC
Doesn't appear to be deletion-specific. This could happen any time MessageCache::parse() doesn't return ParserOutput. wfMsgExt() should sanity check the result before calling getText().
Comment 4 DavidL 2011-12-15 16:56:43 UTC
Currently it appears only when trying to delete pages.
Other operations seems OK.

I don't know why this problem appeared today only.
Yesterday the problem wasn't existing.
Comment 5 DavidL 2011-12-15 17:04:06 UTC
Now the problem seems solved.
Comment 6 Mark A. Hershberger 2011-12-17 20:32:14 UTC
(In reply to comment #5)
> Now the problem seems solved.

closing worksforme, then
Comment 7 Chad H. 2011-12-17 20:36:39 UTC
Nobody read my comment #3 obviously, reopening.
Comment 8 DavidL 2011-12-18 12:04:48 UTC
...and we don't know why deletion works now. The problem can reappear at any time, and not for deletion only.
Comment 9 John Du Hart 2012-02-07 02:50:41 UTC
r110821
Comment 10 Paolo Benvenuto 2012-04-22 15:01:16 UTC
it's present on my installation with 1.18.2 with any page:

Fatal error: Call to a member function getText() on a non-object in /var/wwwc/cathopedia.org/mediawiki-1.18.2/includes/GlobalFunctions.php on line 1317
Comment 11 Mark A. Hershberger 2012-04-23 11:43:44 UTC
(In reply to comment #10)
> it's present on my installation with 1.18.2 with any page:

It doesn't look like r110821 was merged.
Comment 12 db [inactive,noenotif] 2012-12-06 21:04:31 UTC
Fixed in trunk/master -> FIXED

Please open a new bug, when backporting is needed.

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


Navigation
Links