Page MenuHomePhabricator

LiquidThreads throws exceptions: Call to a member function getContent() on a non-object (null)
Closed, ResolvedPublic

Description

This is shown on when viewing a page with threads and probably on most thread related actions as well.

[Tue Oct 11 14:20:36 2016] [hphp] [8017:7f8a70fff700:205826:000001] [] \nNotice: Inaccessible property via __get(): getPage in /srv/mediawiki/tags/2016-10-11_12:17:41/includes/page/Article.php on line 2054
2016-10-11 12:20:36 translatewiki.net translatewiki_net-bw_: [76d87e58b8b4ca596e6a37ba] /w/i.php?title=Thread:Support/Request_4_languages_of_Indigenous_Taiwanese&lqt_method=thread_history   BadMethodCallException from line 2036 of /srv/mediawiki/tags/2016-10-11_12:17:41/extensions/LiquidThreads/classes/View.php: Call to a member function getContent() on a non-object (null)
#0 /srv/mediawiki/tags/2016-10-11_12:17:41/extensions/LiquidThreads/pages/ThreadHistoryListingView.php(27): LqtView->showThread(Thread)
#1 /srv/mediawiki/tags/2016-10-11_12:17:41/extensions/LiquidThreads/classes/Dispatch.php(101): ThreadHistoryListingView->show()
#2 /srv/mediawiki/tags/2016-10-11_12:17:41/extensions/LiquidThreads/classes/Dispatch.php(223): LqtDispatch::threadPermalinkMain(OutputPage, Article, Title, User, WebRequest)
#3 /srv/mediawiki/tags/2016-10-11_12:17:41/includes/Hooks.php(195): LqtDispatch::tryPage(OutputPage, Article, Title, User, WebRequest, MediaWiki)
#4 /srv/mediawiki/tags/2016-10-11_12:17:41/includes/MediaWiki.php(477): Hooks::run(string, array)
#5 /srv/mediawiki/tags/2016-10-11_12:17:41/includes/MediaWiki.php(289): MediaWiki->performAction(Article, Title)
#6 /srv/mediawiki/tags/2016-10-11_12:17:41/includes/MediaWiki.php(861): MediaWiki->performRequest()
#7 /srv/mediawiki/tags/2016-10-11_12:17:41/includes/MediaWiki.php(522): MediaWiki->main()
#8 /srv/mediawiki/tags/2016-10-11_12:17:41/index.php(43): MediaWiki->run()
#9 {main}

Event Timeline

Change 315247 had a related patch set uploaded (by Nikerabbit):
Fix regression throwing exceptions

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

Nikerabbit triaged this task as Unbreak Now! priority.Oct 11 2016, 12:26 PM

Change 315247 merged by jenkins-bot:
Fix regression throwing exceptions

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