Page MenuHomePhabricator

Echo: Fatal error: Cannot use object of type EchoEvent as array at EventLogging.php on line 72
Closed, ResolvedPublic

Description

[02-Nov-2013 20:49:15] Fatal error: Cannot use object of type EchoEvent as array at /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/includes/EventLogging.php on line 72
Server: mw1059
Method: POST
URL: http://test2.wikipedia.org/w/index.php?title=Blabbla&action=submit
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/includes/EventLogging.php(72): MWEchoEventLogging::logSchemaEcho()
#1 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/Notifier.php(24): MWEchoEventLogging::logSchemaEcho(Object(User), Object(EchoEvent), 'web')
#2 [internal function]: EchoNotifier::notifyWithNotification(Object(User), Object(EchoEvent))
#3 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/controller/NotificationController.php(289): call_user_func_array(Array, Array)
#4 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/controller/NotificationController.php(198): EchoNotificationController::doNotification(Object(EchoEvent), Object(User), 'web')
#5 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/model/Event.php(141): EchoNotificationController::notify(Object(EchoEvent), false)
#6 /usr/local/apache/common-local/php-1.23wmf2/extensions/Echo/Hooks.php(478): EchoEvent::create(Array)
#7 [internal function]: EchoHooks::onArticleSaved(Object(WikiPage), Object(User), 'sDSFDAFGRQGHDG', '.o.o.o', 0, NULL, NULL, 98, Object(Revision), Object(Status), false)
#8 /usr/local/apache/common-local/php-1.23wmf2/includes/Hooks.php(199): call_user_func_array('EchoHooks::onAr...', Array)
#9 /usr/local/apache/common-local/php-1.23wmf2/includes/GlobalFunctions.php(3999): Hooks::run('ArticleSaveComp...', Array)
#10 /usr/local/apache/common-local/php-1.23wmf2/includes/content/ContentHandler.php(1096): wfRunHooks('ArticleSaveComp...', Array)
#11 /usr/local/apache/common-local/php-1.23wmf2/includes/WikiPage.php(1938): ContentHandler::runLegacyHooks('ArticleSaveComp...', Array)
#12 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '.o.o.o', 98, false, NULL, 'text/x-wiki')
#13 /usr/local/apache/common-local/php-1.23wmf2/includes/Article.php(2028): call_user_func_array(Array, Array)
#14 /usr/local/apache/common-local/php-1.23wmf2/includes/EditPage.php(1772): Article->__call('doEditContent', Array)
#15 /usr/local/apache/common-local/php-1.23wmf2/includes/EditPage.php(1772): Article->doEditContent(Object(WikitextContent), '.o.o.o', 98, false, NULL, 'text/x-wiki')
#16 /usr/local/apache/common-local/php-1.23wmf2/includes/EditPage.php(1213): EditPage->internalAttemptSave(Array, false)
#17 /usr/local/apache/common-local/php-1.23wmf2/includes/EditPage.php(416): EditPage->attemptSave()
#18 /usr/local/apache/common-local/php-1.23wmf2/includes/actions/EditAction.php(50): EditPage->edit()
#19 /usr/local/apache/common-local/php-1.23wmf2/includes/actions/EditAction.php(76): EditAction->show()
#20 /usr/local/apache/common-local/php-1.23wmf2/includes/Wiki.php(448): SubmitAction->show()
#21 /usr/local/apache/common-local/php-1.23wmf2/includes/Wiki.php(312): MediaWiki->performAction(Object(Article), Object(Title))
#22 /usr/local/apache/common-local/php-1.23wmf2/includes/Wiki.php(603): MediaWiki->performRequest()
#23 /usr/local/apache/common-local/php-1.23wmf2/includes/Wiki.php(467): MediaWiki->main()
#24 /usr/local/apache/common-local/php-1.23wmf2/index.php(49): MediaWiki->run()
#25 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#26 {main}


Version: master
Severity: normal

Details

Reference
bz56521

Event Timeline

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

The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/397, but people from the community are welcome to contribute here and in Gerrit.

Change 93516 had a related patch set uploaded by Gerrit Patch Uploader:
Fatal error: Cannot use object of type EchoEvent as array at EventLogging.php

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

Change 93516 merged by jenkins-bot:
Fatal error: Cannot use object of type EchoEvent as array at EventLogging.php

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