Page MenuHomePhabricator

Cannot use object of type Message as array at RollbackAction
Closed, ResolvedPublic

Description

[08-Jun-2013 15:37:45] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.22wmf5/includes/actions/RollbackAction.php on line 56
Server: mw1063
Method: GET
URL: http://www.wikidata.org/w/index.php?title=Q9225819&action=rollback&from=Cardabela48&token=6014061a15609049dc0fc30b824d7600%2B%5C
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf5/includes/actions/RollbackAction.php(56): RollbackAction::onView()
#1 /usr/local/apache/common-local/php-1.22wmf5/includes/Action.php(547): RollbackAction->onView()
#2 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(439): FormlessAction->show()
#3 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#4 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /usr/local/apache/common-local/php-1.22wmf5/includes/Wiki.php(458): MediaWiki->main()
#6 /usr/local/apache/common-local/php-1.22wmf5/index.php(55): MediaWiki->run()
#7 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#8 {main}

Might be wikidata specific, so CC'ing them for the moment. Bug can be moved later if necessary


Version: 1.22.0
Severity: critical

Details

Reference
bz49338

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:01 AM
bzimport set Reference to bz49338.
bzimport added a subscriber: Unknown Object (MLST).

[20-Jun-2013 18:30:02] Fatal error: Cannot use object of type Message as array at /usr/local/apache/common-local/php-1.22wmf7/includes/actions/RollbackAction.php on line 56
Server: mw1063
Method: GET
URL: http://www.wikidata.org/w/index.php?title=Q9137223&action=rollback&from=Melody+Lavender&token=a6b8ba91393e79797349db704bfa4fe5%2B%5C
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf7/includes/actions/RollbackAction.php(56): RollbackAction::onView()
#1 /usr/local/apache/common-local/php-1.22wmf7/includes/Action.php(547): RollbackAction->onView()
#2 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(439): FormlessAction->show()
#3 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#4 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /usr/local/apache/common-local/php-1.22wmf7/includes/Wiki.php(458): MediaWiki->main()
#6 /usr/local/apache/common-local/php-1.22wmf7/index.php(55): MediaWiki->run()
#7 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#8 {main}

nzmoihue wrote:

It can gain a bit priority IMO because it is causing crash on Wikidata. I didn't faced with such reproduce-able crashes like this on Wikidata so this one is a bit important to fix!

Change 74176 had a related patch set uploaded by Daniel Kinzler:
(bug 49338) Fix error handling in RollbackAction.

https://gerrit.wikimedia.org/r/74176

Change 74176 had a related patch set uploaded by Krinkle:
Return messages in a consistent form from Status objects.

https://gerrit.wikimedia.org/r/74176

Change 74176 merged by jenkins-bot:
Return messages in a consistent form from Status objects

https://gerrit.wikimedia.org/r/74176

  • Bug 52375 has been marked as a duplicate of this bug. ***