Page MenuHomePhabricator

WatchSubpages_body.php: Call to a member function isTalkPage() on null
Open, Needs TriagePublic

Description

When tring to add subpage in watchlist though Special:WatchSubpages, Getting below error.

[a18a0ca7a64f74bc341e3c2a] /Dev/core/index.php/Special:WatchSubpages Error from line 387 of C:\xampp\htdocs\Dev\core\extensions\WatchSubpages\WatchSubpages_body.php: Call to a member function isTalkPage() on null

Backtrace:

#0 C:\xampp\htdocs\Dev\core\extensions\WatchSubpages\WatchSubpages_body.php(339): WatchSubpages->getWatchlist()
#1 C:\xampp\htdocs\Dev\core\includes\htmlform\HTMLForm.php(660): WatchSubpages->submitRaw(array, EditWatchlistNormalHTMLForm)
#2 C:\xampp\htdocs\Dev\core\includes\htmlform\HTMLForm.php(552): HTMLForm->trySubmit()
#3 C:\xampp\htdocs\Dev\core\includes\htmlform\HTMLForm.php(567): HTMLForm->tryAuthorizedSubmit()
#4 C:\xampp\htdocs\Dev\core\extensions\WatchSubpages\WatchSubpages_body.php(96): HTMLForm->show()
#5 C:\xampp\htdocs\Dev\core\includes\specialpage\SpecialPage.php(522): WatchSubpages->execute(NULL)
#6 C:\xampp\htdocs\Dev\core\includes\specialpage\SpecialPageFactory.php(568): SpecialPage->run(NULL)
#7 C:\xampp\htdocs\Dev\core\includes\MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext)
#8 C:\xampp\htdocs\Dev\core\includes\MediaWiki.php(861): MediaWiki->performRequest()
#9 C:\xampp\htdocs\Dev\core\includes\MediaWiki.php(524): MediaWiki->main()
#10 C:\xampp\htdocs\Dev\core\index.php(42): MediaWiki->run()
#11 {main}

Event Timeline

Restricted Application added a project: User-Jayprakash12345. · View Herald TranscriptApr 17 2018, 7:41 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper added a subscriber: Prod.Apr 18 2018, 9:31 AM

CC'ing @Prod as https://www.mediawiki.org/wiki/Extension:WatchSubpages lists no other place where to report bugs.

Change 593932 had a related patch set uploaded (by Prod; owner: Prod):
[mediawiki/extensions/WatchSubpages@master] Updated code based on core changes up to 1.34 from SpecialAllpages, SpecialEditWatchlist, SpecialPrefixindex

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

Change 593932 merged by jenkins-bot:
[mediawiki/extensions/WatchSubpages@master] Updated code based on core changes up to 1.34

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