Page MenuHomePhabricator

Fatal error: Call to a member function preSaveTransform() on a non-object in EditPage.php on line 3260
Closed, DeclinedPublicPRODUCTION ERROR

Description

[20-Mar-2014 22:35:02] Fatal error: Call to a member function preSaveTransform() on a non-object at /usr/local/apache/common-local/php-1.23wmf18/includes/EditPage.php on line 3260
Server: mw1098
Method: GET
URL: http://ru.wiktionary.org/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D1%8D%D1%82%D0%B8%D0%BC%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%8F:%D0%B0%D1%8D%D1%80%D0%BE-&action=edit
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf18/includes/EditPage.php(3260): EditPage::getPreviewText()
#1 /usr/local/apache/common-local/php-1.23wmf18/includes/EditPage.php(2203): EditPage->getPreviewText()
#2 /usr/local/apache/common-local/php-1.23wmf18/includes/EditPage.php(453): EditPage->showEditForm()
#3 /usr/local/apache/common-local/php-1.23wmf18/includes/actions/EditAction.php(50): EditPage->edit()
#4 /usr/local/apache/common-local/php-1.23wmf18/includes/Wiki.php(428): EditAction->show()
#5 /usr/local/apache/common-local/php-1.23wmf18/includes/Wiki.php(292): MediaWiki->performAction(Object(Article), Object(Title))
#6 /usr/local/apache/common-local/php-1.23wmf18/includes/Wiki.php(588): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.23wmf18/includes/Wiki.php(447): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.23wmf18/index.php(49): MediaWiki->run()
#9 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#10 {main}


Version: unspecified
Severity: normal

Details

Reference
bz62896

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:07 AM
bzimport set Reference to bz62896.
bzimport added a subscriber: Unknown Object (MLST).

Info how often this happens welcome.

demon raised the priority of this task from Medium to High.Oct 26 2015, 5:28 PM

I have the same problem
Fatal error: Call to a member function preSaveTransform() on a non-object in /home/www/web64951/html/includes/EditPage.php on line 3548
when trying to create a category

@Bmrberlin: Which version of MediaWiki are you using? Does the error happen every time you create a category, or only sometimes? Do you see it when viewing the category edit form, or when saving the edit?

@Reedy: Is this still appearing in WMF's logs?

In T64896#2054398, @TTO wrote:

@Bmrberlin: Which version of MediaWiki are you using? Does the error happen every time you create a category, or only sometimes? Do you see it when viewing the category edit form, or when saving the edit?

@Reedy: Is this still appearing in WMF's logs?

I'm using
MediaWiki 1.25.1
PHP 5.4.34 (cgi-fcgi)
MySQL 5.5.47-0ubuntu0.12.04.1
I get the error, when trying to create the category. There is nothing displayed.
What does "WMF" stand for?

Try disabling all extensions and see if you can create a category. It is possible that this issue is caused by a faulty extension (although the fact that WMF is facing this problem, suggests not).

A lot has changed since 1.25.1. Could you try upgrading to 1.25.5 and see if the issue goes away?

Finally, WMF stands for "Wikimedia Foundation". I was asking Reedy whether this error is still being experienced on Wikimedia's wiki cluster.

I think, I have identified the troublemaker! It's the extension PreLoadManager. After disabling the error does not appear anymore.

As far as Wikimedia cluster logs as concerned, this last occurred on the 1st of December (those logs go back to 25th November) on frwiki.

Krinkle subscribed.

Not seen in 30 days in WMF Logstash. If this is still being experienced on other sites with current versions of MediaWiki, please create a separate task.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM