MediaWiki 1.29.0-rc.0 (4e4d48d) PHP 7.1.1 (apache2handler) MariaDB 10.1.21-MariaDB ICU 57.1
PHP Fatal error: Uncaught Error: Call to a member function canExist() on null in ...\includes\skins\Skin.php:223 Stack trace: #0 ...\includes\skins\Skin.php(145): Skin->preloadExistence() #1 ...\skins\Vector\SkinVector.php(47): Skin->initPage(Object(OutputPage)) #2 ...\includes\skins\SkinTemplate.php(248): SkinVector->initPage(Object(OutputPage)) #3 ...\includes\OutputPage.php(2441): SkinTemplate->outputPage() #4 ...\includes\exception\MWExceptionRenderer.php(181): OutputPage->output() #5 ...\includes\exception\MWExceptionRenderer.php(55): MWExceptionRenderer::reportHTML(Object(Error)) #6 ...\includes\exception\MWExceptionHandler.php(75): MWExceptionRenderer::output(Object(Error), 2) #7 ...\includes\exception\MWExceptionHandler.php(141): MWExceptionHandler::report(Object(Error)) #8 [internal function]: MWExceptionHandler::handleException(Ob in ...\includes\skins\Skin.php on line 223
Checking the $title should be enough to prevent the fatal.
@@ -218,11 +218,11 @@ abstract class Skin extends ContextSource { $titles[] = $user->getTalkPage(); } // Check, if the page can hold some kind of content, otherwise do nothing $title = $this->getRelevantTitle(); - if ( $title->canExist() ) { + if ( $title !== null && $title->canExist() ) {