[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
gerritbot added a comment. Change 477978 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Remove StubUserLang debug logging https://gerrit.wikimedia.org/r/477978TASK DETAILhttps://phabricator.wikimedia.org/T112070EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, gerritbotCc: hoo, Addshore, gerritbot, aude, Aklapper, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Wikidata-bugs, Jdforrester-WMF, Mbch331, Jay8g, Krenair___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
gerritbot added a comment. Change 477978 had a related patch set uploaded (by Hoo man; owner: Hoo man): [mediawiki/extensions/Wikibase@master] Remove StubUserLang debug logging https://gerrit.wikimedia.org/r/477978TASK DETAILhttps://phabricator.wikimedia.org/T112070EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, gerritbotCc: hoo, Addshore, gerritbot, aude, Aklapper, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Wikidata-bugs, Jdforrester-WMF, Mbch331, Jay8g, Krenair___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
hoo added a comment. 3 years later and this is still happening :/ All occurrences are coming from ApiQueryWatchlist (rarely)/ ApiQueryRecentChanges (more often, probably because it's used way more frequently).TASK DETAILhttps://phabricator.wikimedia.org/T112070EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, hooCc: hoo, Addshore, gerritbot, aude, Aklapper, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Wikidata-bugs, Jdforrester-WMF, Mbch331, Jay8g, Krenair___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
Addshore added a comment. I just checked and this is still occurring. Here is a new trrack with updated line numbers etc. 2016-08-01 05:53:51 [V57j7wpAEDUAAHWvqBBS] mw1288 wikidatawiki 1.28.0-wmf.12 wikibase-debug INFO: Bug: T112070: #0 /srv/mediawiki/php-1.28.0-wmf.12/includes/Hooks.php(195): Wikibase\RepoHooks::onFormat(NULL, boolean, string, boolean, Title, boolean, NULL) #1 /srv/mediawiki/php-1.28.0-wmf.12/includes/Linker.php(1243): Hooks::run(string, array) #2 /srv/mediawiki/php-1.28.0-wmf.12/includes/Linker.php(1284): Closure$Linker::formatAutocomments(array) #3 /srv/mediawiki/php-1.28.0-wmf.12/includes/Linker.php(1190): Linker::formatAutocomments(string, Title, boolean, NULL) #4 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiQueryWatchlist.php(367): Linker::formatComment(string, Title) #5 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiQueryWatchlist.php(192): ApiQueryWatchlist->extractOutputData(WatchedItem, array) #6 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiQueryWatchlist.php(42): ApiQueryWatchlist->run() #7 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiQuery.php(251): ApiQueryWatchlist->execute() #8 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiMain.php(1435): ApiQuery->execute() #9 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiMain.php(508): ApiMain->executeAction() #10 /srv/mediawiki/php-1.28.0-wmf.12/includes/api/ApiMain.php(479): ApiMain->executeActionWithErrorHandling() #11 /srv/mediawiki/php-1.28.0-wmf.12/api.php(83): ApiMain->execute() #12 /srv/mediawiki/w/api.php(3): include(string) #13 {main}TASK DETAILhttps://phabricator.wikimedia.org/T112070EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, AddshoreCc: Addshore, gerritbot, aude, Aklapper, Lewizho99, Maathavan, D3r1ck01, Izno, Wikidata-bugs, Mbch331, Jay8g, Krenair___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
aude added a comment. Here is a stacktrace of how we ended up with a StubUserLang in the AutoCommentFormatter: #0 /srv/mediawiki/php-1.26wmf23/includes/Hooks.php(204): Wikibase\RepoHooks::onFormat(array, NULL, boolean, string, boolean, Title, boolean) #1 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1333): Hooks::run(string, array) #2 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1375): Closure$Linker::formatAutocomments(array) #3 /srv/mediawiki/php-1.26wmf23/includes/Linker.php(1289): Linker::formatAutocomments(string, Title, boolean) #4 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(386): Linker::formatComment(string, Title) #5 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(268): ApiQueryWatchlist->extractRowInfo(stdClass) #6 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQueryWatchlist.php(40): ApiQueryWatchlist->run() #7 /srv/mediawiki/php-1.26wmf23/includes/api/ApiQuery.php(286): ApiQueryWatchlist->execute() #8 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(1270): ApiQuery->execute() #9 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(466): ApiMain->executeAction() #10 /srv/mediawiki/php-1.26wmf23/includes/api/ApiMain.php(438): ApiMain->executeActionWithErrorHandling() #11 /srv/mediawiki/php-1.26wmf23/api.php(88): ApiMain->execute() #12 /srv/mediawiki/w/api.php(3): include(string) TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: gerritbot, aude, Aklapper, Luke081515, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
gerritbot added a comment. Change 239368 had a related patch set uploaded (by Aude): Unstub $wgLang before passing to AutoCommentFormatter https://gerrit.wikimedia.org/r/239368 TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude, gerritbot Cc: gerritbot, aude, Aklapper, Luke081515, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
aude added a comment. with the debug logging, I can create a new task if I see some actionable task, such as something to fix in AbuseFilter. TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: gerritbot, aude, Aklapper, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
aude added a comment. https://gerrit.wikimedia.org/r/#/c/237620/ TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: aude, Aklapper, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 237620 merged by jenkins-bot: Unstub $wgLang before passing to AutoCommentFormatter https://gerrit.wikimedia.org/r/237620 TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude, gerritbot Cc: gerritbot, aude, Aklapper, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T112070: [Bug] Catchable fatal error: Argument 1 passed to Wikibase\Lib\AutoCommentFormatter::__construct() must be an instance of Language, StubUserLang giv
aude added a comment. see more entries in the logs and should fix it asap. TASK DETAIL https://phabricator.wikimedia.org/T112070 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: aude Cc: aude, Aklapper, Wikidata-bugs, Jay8g, Krenair, greg ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs