Page MenuHomePhabricator

GlobalFunctions.php line 1312: Call to a member function getText() on a non-object
Closed, ResolvedPublic

Description

Author: lambdav

Description:
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

Version: 1.18.x
Severity: minor

Details

Reference
bz33165

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:05 AM
bzimport set Reference to bz33165.

lambdav wrote:

The problem appears for any page.

lambdav wrote:

NO ONE ???????????

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().

lambdav wrote:

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.

lambdav wrote:

Now the problem seems solved.

(In reply to comment #5)

Now the problem seems solved.

closing worksforme, then

Nobody read my comment #3 obviously, reopening.

lambdav wrote:

...and we don't know why deletion works now. The problem can reappear at any time, and not for deletion only.

paolobenve wrote:

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

(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.

Fixed in trunk/master -> FIXED

Please open a new bug, when backporting is needed.