Twice tonight when adding a section to a user talk page, the submit resulted in:
https://www.mediawiki.org/w/index.php?title=User_talk:Waldir&action=submit
Exception encountered, of type "BadMethodCallException".
If I reload the web page and resubmit the I get an edit conflict, and it turns out my contribution was successful.
legoktm found
legoktm@fluorine:/a/mw-log$ grep "BadMethodCallException" exception.log | grep mediawikiwiki 2015-03-20 07:54:02 mw1212 mediawikiwiki: [4b5683b8] /w/index.php?title=User_talk:Waldir&action=submit BadMethodCallException from line 221 of / srv/mediawiki/php-1.25wmf22/extensions/Echo/Hooks.php: Call to a member function isMinor() on a non-object (NULL)
the second exception has identifier [49120a69]
I tried adding a new section to my own user page and it worked fine.
Here's the full log from the first exception.
2015-03-20 07:54:02 mw1212 mediawikiwiki: [4b5683b8] /w/index.php?title=User_talk:Waldir&action=submit BadMethodCallException from line 221 of /srv/mediawiki/php-1.25wmf22/extensions/Echo/Hooks.php: Call to a member function isMinor() on a non-object (NULL)
#0 /srv/mediawiki/php-1.25wmf22/includes/Hooks.php(209): EchoHooks::getNotificationTypes()
#1 /srv/mediawiki/php-1.25wmf22/includes/GlobalFunctions.php(4016): Hooks::run()
#2 /srv/mediawiki/php-1.25wmf22/extensions/Echo/controller/NotificationController.php(82): wfRunHooks()
#3 /srv/mediawiki/php-1.25wmf22/extensions/Echo/model/Event.php(146): EchoNotificationController::notify()
#4 /srv/mediawiki/php-1.25wmf22/extensions/Echo/includes/DiscussionParser.php(97): EchoEvent::create()
#5 /srv/mediawiki/php-1.25wmf22/extensions/Echo/Hooks.php(444): EchoDiscussionParser::generateEventsForRevision()
#6 /srv/mediawiki/php-1.25wmf22/includes/Hooks.php(209): EchoHooks::onArticleSaved()
#7 /srv/mediawiki/php-1.25wmf22/includes/content/ContentHandler.php(1161): Hooks::run()
#8 /srv/mediawiki/php-1.25wmf22/includes/page/WikiPage.php(1979): ContentHandler::runLegacyHooks()
#9 /srv/mediawiki/php-1.25wmf22/includes/page/Article.php(1991): WikiPage->doEditContent()
#10 /srv/mediawiki/php-1.25wmf22/includes/EditPage.php(1905): Article->__call()
#11 /srv/mediawiki/php-1.25wmf22/includes/EditPage.php(1298): EditPage->internalAttemptSave()
#12 /srv/mediawiki/php-1.25wmf22/includes/EditPage.php(538): EditPage->attemptSave()
#13 /srv/mediawiki/php-1.25wmf22/includes/actions/EditAction.php(56): EditPage->edit()
#14 /srv/mediawiki/php-1.25wmf22/includes/actions/SubmitAction.php(40): EditAction->show()
#15 /srv/mediawiki/php-1.25wmf22/includes/MediaWiki.php(403): SubmitAction->show()
#16 /srv/mediawiki/php-1.25wmf22/includes/MediaWiki.php(275): MediaWiki->performAction()
#17 /srv/mediawiki/php-1.25wmf22/includes/MediaWiki.php(571): MediaWiki->performRequest()
#18 /srv/mediawiki/php-1.25wmf22/includes/MediaWiki.php(422): MediaWiki->main()
#19 /srv/mediawiki/php-1.25wmf22/index.php(46): MediaWiki->run()
#20 /srv/mediawiki/w/index.php(3): include()